(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 3 ], {
    104: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return o;
        });
        var a = n(9), c = n(1), r = n(85), i = (n(435), n(0)), o = function(t) {
            var e = t.goods, n = t.showDistance, o = Object(a["d"])(function(t) {
                return t.movie;
            }), u = o.latitude, s = o.longitude;
            return Object(i["jsxs"])(c["Navigator"], {
                className: "around-tour-goods",
                url: "/pages/around_tour_product/index?productId=".concat(e.productId),
                children: [ Object(i["jsxs"])(c["View"], {
                    className: "img-wrapper",
                    children: [ Object(i["jsx"])(c["Image"], {
                        className: "face",
                        src: e.faceImg,
                        mode: "widthFix",
                        lazyLoad: !0
                    }), Object(i["jsx"])(c["View"], {
                        className: "label",
                        children: "抢购中"
                    }), n && u && s ? Object(i["jsxs"])(c["View"], {
                        className: "distance",
                        children: [ Object(i["jsx"])(c["Image"], {
                            className: "icon",
                            src: "http://cdn.meizhuan.cn/pic-go/locate-icon-20211009.png"
                        }), Object(i["jsx"])(r["a"], {
                            latitude: e.latitude,
                            longitude: e.longitude
                        }) ]
                    }) : null ]
                }), Object(i["jsxs"])(c["View"], {
                    className: "content-wrapper",
                    children: [ Object(i["jsx"])(c["View"], {
                        className: "share-text",
                        children: e.shareText
                    }), Object(i["jsxs"])(c["View"], {
                        className: "info",
                        children: [ Object(i["jsxs"])(c["View"], {
                            className: "left",
                            children: [ Object(i["jsx"])(c["Text"], {
                                className: "sale-price-unit",
                                children: "￥"
                            }), Object(i["jsx"])(c["Text"], {
                                className: "sale-price-number",
                                children: e.salePrice / 100
                            }), Object(i["jsx"])(c["Text"], {
                                className: "origin-price",
                                children: "门市价 "
                            }), Object(i["jsxs"])(c["Text"], {
                                className: "origin-price line",
                                children: [ "￥", e.originPrice / 100 ]
                            }) ]
                        }), Object(i["jsxs"])(c["View"], {
                            className: "right",
                            children: [ "已售 ", e.channelSaleAmount ]
                        }) ]
                    }) ]
                }) ]
            }, e.productId);
        };
    },
    105: function(t, e, n) {
        "use strict";
        var a = n(6), c = n.n(a), r = n(7), i = n(10), o = n(12), u = n(22), s = n.n(u), d = n(2), l = n(36), h = n(8), p = function() {
            var t = Object(o["a"])(c.a.mark(function t(e) {
                var n, a, o, p, f, b, O, j;
                return c.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (n = l["a"].getState(), n.user.loginStatus) {
                            t.next = 3;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 3:
                        return Object(d["showLoading"])({
                            title: "正在加载",
                            mask: !0
                        }), t.next = 6, Promise.all([ h["m"].getToken().then(function(t) {
                            return t.data;
                        }), h["m"].getKfcFrontendUrl().then(function(t) {
                            return t.data;
                        }) ]);

                      case 6:
                        if (a = t.sent, o = Object(i["a"])(a, 2), p = o[0], f = o[1], 0 === f.code) {
                            t.next = 13;
                            break;
                        }
                        return Object(d["showToast"])({
                            title: f.msg,
                            icon: "none"
                        }), t.abrupt("return");

                      case 13:
                        if (0 === p.code) {
                            t.next = 16;
                            break;
                        }
                        return Object(d["showToast"])({
                            title: p.msg,
                            icon: "none"
                        }), t.abrupt("return");

                      case 16:
                        Object(d["hideLoading"])(), b = s()(f.data[e], !0), O = p.data.token, b.set("query", u["qs"].stringify(Object(r["a"])(Object(r["a"])({}, b.query), {}, {
                            token: O
                        }))), j = "/pages/webview/index?src=".concat(encodeURIComponent(b.href)), Object(d["navigateTo"])({
                            url: j
                        });

                      case 22:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function(e) {
                return t.apply(this, arguments);
            };
        }();
        e["a"] = p;
    },
    109: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return L;
        });
        var a, c = n(10), r = n(1), i = n(65), o = n(2), u = n(9), s = n(3), d = n(8), l = n(84), h = n(46), p = n(13), f = n(28), b = n(72), O = n(16), j = n(44), g = n(0), m = function() {
            var t = Object(s["useRef"])(null), e = Object(s["useState"])(0), n = Object(c["a"])(e, 2), a = n[0], i = n[1], u = Object(s["useState"])(1), l = Object(c["a"])(u, 2), h = l[0], m = l[1], v = Object(s["useState"])([]), y = Object(c["a"])(v, 2), k = y[0], A = y[1], x = Object(s["useState"])(""), I = Object(c["a"])(x, 2), w = I[0], T = I[1], P = Object(s["useCallback"])(function(t) {
                t !== a && (i(t), A([]), m(0), m(1));
            }, [ a ]);
            return Object(s["useEffect"])(function() {
                var e;
                if (h) {
                    null === (e = t.current) || void 0 === e || e.abort(), T("loading");
                    var n = O["a"][a].goodsType, c = {
                        pageNum: h,
                        goodsType: n,
                        pageSize: 30
                    };
                    t.current = d["N"].goodsList(c), t.current.then(function(t) {
                        return t.data;
                    }).then(function(t) {
                        var e = t.goodsList.map(function(t) {
                            return t.goodsFrom = 20, t;
                        });
                        A(function(t) {
                            return t.concat(e);
                        }), e.length ? T("pull") : T(1 !== h ? "end" : "blank");
                    });
                }
            }, [ a, h ]), Object(o["useReachBottom"])(function() {
                "pull" === w && m(h + 1);
            }), Object(g["jsxs"])(r["View"], {
                className: "platform-goods-list",
                children: [ Object(g["jsx"])(p["E"], {
                    className: "active",
                    scroll: !0,
                    current: a,
                    tabList: O["a"],
                    swipeable: !1,
                    onClick: P
                }), k.map(function(t) {
                    return Object(g["jsx"])(b["a"], {
                        goods: t,
                        onShow: function() {
                            return Object(j["a"])(t);
                        }
                    }, t.itemId);
                }), Object(g["jsx"])(f["a"], {
                    type: w
                }) ]
            });
        }, v = function() {
            var t = Object(s["useRef"])(null), e = Object(s["useState"])(0), n = Object(c["a"])(e, 2), a = n[0], i = n[1], u = Object(s["useState"])(1), l = Object(c["a"])(u, 2), h = l[0], m = l[1], v = Object(s["useState"])([]), y = Object(c["a"])(v, 2), k = y[0], A = y[1], x = Object(s["useState"])(""), I = Object(c["a"])(x, 2), w = I[0], T = I[1], P = Object(s["useCallback"])(function(t) {
                t !== a && (i(t), A([]), m(0), m(1));
            }, [ a ]);
            return Object(s["useEffect"])(function() {
                var e;
                if (h) {
                    null === (e = t.current) || void 0 === e || e.abort(), T("loading");
                    var n = O["a"][a].goodsType, c = {
                        needTop: 0,
                        pageNum: h,
                        pageSize: 30,
                        goodsType: n,
                        requestFrom: 2,
                        isNeedCateNum: 0
                    };
                    t.current = d["M"].goodsList(c), t.current.then(function(t) {
                        return t.data;
                    }).then(function(t) {
                        var e = t.goodsList.map(function(t) {
                            return t.itemId = t.itemId || t.goodsTbId, t;
                        });
                        A(function(t) {
                            return t.concat(e);
                        }), e.length ? T("pull") : T(1 !== h ? "end" : "blank");
                    });
                }
            }, [ a, h ]), Object(o["useReachBottom"])(function() {
                "pull" === w && m(h + 1);
            }), Object(g["jsxs"])(r["View"], {
                className: "platform-goods-list",
                children: [ Object(g["jsx"])(p["E"], {
                    className: "active",
                    scroll: !0,
                    current: a,
                    tabList: O["a"],
                    swipeable: !1,
                    onClick: P
                }), k.map(function(t) {
                    return Object(g["jsx"])(b["a"], {
                        goods: t,
                        onShow: function() {
                            return Object(j["a"])(t);
                        }
                    }, t.itemId);
                }), Object(g["jsx"])(f["a"], {
                    type: w
                }) ]
            });
        }, y = function(t) {
            var e = t.cid, n = Object(s["useRef"])(1), a = Object(s["useRef"])(null), r = Object(s["useState"])([]), i = Object(c["a"])(r, 2), u = i[0], l = i[1], h = Object(s["useState"])(""), p = Object(c["a"])(h, 2), O = p[0], m = p[1], v = Object(s["useCallback"])(function() {
                var t;
                null === (t = a.current) || void 0 === t || t.abort(), m("loading");
                var c = {
                    cid: e,
                    pageNum: n.current,
                    pageSize: 30
                };
                a.current = d["l"].goodsList(c), a.current.then(function(t) {
                    return t.data;
                }).then(function(t) {
                    var e = t.goodsList.map(function(t) {
                        return t.goodsFrom = 10, t;
                    });
                    l(function(t) {
                        return t.concat(e);
                    }), e.length ? m("pull") : 1 !== n.current ? m("end") : m("blank");
                });
            }, [ e ]);
            return Object(s["useEffect"])(function() {
                l([]), n.current = 1, v();
            }, [ e ]), Object(o["useReachBottom"])(function() {
                "pull" === O && (n.current++, v());
            }), Object(g["jsxs"])(g["Fragment"], {
                children: [ u.map(function(t) {
                    return Object(g["jsx"])(b["a"], {
                        goods: t,
                        onShow: function() {
                            return Object(j["a"])(t);
                        }
                    }, t.itemId);
                }), Object(g["jsx"])(f["a"], {
                    type: O
                }) ]
            });
        }, k = n(22), A = function(t) {
            var e = {
                type: 4,
                itemId: t.itemId,
                channel: "tenMillionSubsidy",
                goodsSign: t.goodsSign
            }, n = "/pages/detail/pdd/item/index?".concat(k["qs"].stringify(e));
            Object(o["navigateTo"])({
                url: n
            });
        }, x = function() {
            var t = Object(s["useState"])(1), e = Object(c["a"])(t, 2), n = e[0], a = e[1], r = Object(s["useState"])([]), i = Object(c["a"])(r, 2), u = i[0], l = i[1], h = Object(s["useState"])(""), p = Object(c["a"])(h, 2), O = p[0], j = p[1];
            return Object(s["useEffect"])(function() {
                j("loading");
                var t = {
                    pageNum: n,
                    pageSize: 30
                };
                d["K"].subsidyTenMillionGoodsList(t).then(function(t) {
                    return t.data;
                }).then(function(t) {
                    t.goodsList = t.goodsList || [], t.goodsList = t.goodsList.map(function(t) {
                        return t.goodsFrom = 10, t;
                    }), l(function(e) {
                        return e.concat(t.goodsList);
                    }), 30 !== t.goodsList.length ? t.goodsList.length ? j("end") : j(1 !== n ? "end" : "blank") : j("pull");
                });
            }, [ n ]), Object(o["useReachBottom"])(function() {
                "pull" === O && a(n + 1);
            }), Object(g["jsxs"])(g["Fragment"], {
                children: [ u.map(function(t) {
                    return Object(g["jsx"])(b["a"], {
                        goods: t,
                        onShow: function() {
                            return A(t);
                        }
                    }, t.itemId);
                }), Object(g["jsx"])(f["a"], {
                    type: O,
                    fontColor: "#fff"
                }) ]
            });
        }, I = function() {
            var t = Object(u["d"])(function(t) {
                return t.weapp.mp;
            }), e = t.pddSubsidy, n = Object(s["useState"])(0), a = Object(c["a"])(n, 2), i = a[0], o = a[1], d = Object(s["useCallback"])(function(t) {
                t !== i && o(t);
            }, [ i ]);
            return Object(g["jsxs"])(r["View"], {
                className: "platform-goods-list",
                children: [ Object(g["jsx"])(p["E"], {
                    className: "active",
                    scroll: !0,
                    current: i,
                    tabList: O["a"],
                    swipeable: !1,
                    onClick: d
                }), e && "jx" === O["a"][i].key ? Object(g["jsx"])(x, {}) : Object(g["jsx"])(y, {
                    cid: O["a"][i].cid
                }) ]
            });
        }, w = function(t) {
            var e = t.categories, n = Object(s["useRef"])(null), a = Object(s["useState"])(0), i = Object(c["a"])(a, 2), u = i[0], l = i[1], h = Object(s["useState"])(1), O = Object(c["a"])(h, 2), m = O[0], v = O[1], y = Object(s["useState"])([]), k = Object(c["a"])(y, 2), A = k[0], x = k[1], I = Object(s["useState"])(""), w = Object(c["a"])(I, 2), T = w[0], P = w[1], S = Object(s["useCallback"])(function(t) {
                t !== u && (l(t), x([]), v(0), v(1));
            }, [ u ]);
            return Object(s["useEffect"])(function() {
                var t;
                if (m) {
                    null === (t = n.current) || void 0 === t || t.abort(), P("loading");
                    var a = e[u].code, c = {
                        pageNum: m,
                        jxCode: a,
                        pageSize: 30
                    };
                    n.current = d["F"].fetchList(c), n.current.then(function(t) {
                        return t.data;
                    }).then(function(t) {
                        t.data.goodsList = t.data.goodsList || [];
                        var e = t.data.goodsList.map(function(t) {
                            return t.goodsFrom = 30, t.itemId = t.goodsId, t.tkValue = t.commission, t.floorPrice = t.vipPrice, 
                            t.goodsTitle = t.goodsName, t.goodsPrice = t.marketPrice, t.imageHref = t.goodsThumbUrl, 
                            t;
                        });
                        x(function(t) {
                            return t.concat(e);
                        }), e.length ? P("pull") : P(1 !== m ? "end" : "blank");
                    });
                }
            }, [ e, u, m ]), Object(o["useReachBottom"])(function() {
                "pull" === T && v(m + 1);
            }), Object(g["jsxs"])(r["View"], {
                className: "platform-goods-list",
                children: [ Object(g["jsx"])(p["E"], {
                    className: "active",
                    scroll: !0,
                    current: u,
                    tabList: e,
                    swipeable: !1,
                    onClick: S
                }), A.map(function(t) {
                    return Object(g["jsx"])(b["a"], {
                        goods: t,
                        onShow: function() {
                            return Object(j["a"])(t);
                        }
                    }, t.itemId);
                }), Object(g["jsx"])(f["a"], {
                    type: T
                }) ]
            });
        };
        (function(t) {
            t["JD"] = "JD", t["PDD"] = "PDD", t["TAO"] = "TAO", t["VIP"] = "VIP", t["LLZB"] = "LLZB";
        })(a || (a = {}));
        var T = n(19), P = n.n(T), S = (n(439), function(t) {
            var e = Object(h["c"])(), n = Object(u["d"])(function(t) {
                return t.weapp.mp;
            }), c = n.showLlzb;
            return Object(g["jsxs"])(r["View"], {
                className: "platform-tabs",
                children: [ c ? Object(g["jsxs"])(r["View"], {
                    className: "item",
                    onClick: function() {
                        return t.onSwitch(a.LLZB);
                    },
                    children: [ Object(g["jsx"])(r["View"], {
                        className: "title",
                        children: "同城优惠"
                    }), Object(g["jsx"])(r["View"], {
                        className: P()("label", {
                            active: t.activeKey === a.LLZB
                        }),
                        children: "逛吃逛吃"
                    }) ]
                }) : null, Object(g["jsxs"])(r["View"], {
                    className: "item",
                    onClick: function() {
                        return t.onSwitch(a.PDD);
                    },
                    children: [ Object(g["jsx"])(r["View"], {
                        className: "title",
                        children: "拼多多"
                    }), Object(g["jsx"])(r["View"], {
                        className: P()("label", {
                            active: t.activeKey === a.PDD
                        }),
                        children: "件件必选"
                    }) ]
                }), e ? Object(g["jsxs"])(r["View"], {
                    className: "item",
                    onClick: function() {
                        return t.onSwitch(a.TAO);
                    },
                    children: [ Object(g["jsx"])(r["View"], {
                        className: "title",
                        children: "淘宝"
                    }), Object(g["jsx"])(r["View"], {
                        className: P()("label", {
                            active: t.activeKey === a.TAO
                        }),
                        children: "精选宝贝"
                    }) ]
                }) : null, Object(g["jsxs"])(r["View"], {
                    className: "item",
                    onClick: function() {
                        return t.onSwitch(a.JD);
                    },
                    children: [ Object(g["jsx"])(r["View"], {
                        className: "title",
                        children: "京东"
                    }), Object(g["jsx"])(r["View"], {
                        className: P()("label", {
                            active: t.activeKey === a.JD
                        }),
                        children: "品牌特卖"
                    }) ]
                }), c && e ? null : Object(g["jsxs"])(r["View"], {
                    className: "item",
                    onClick: function() {
                        return t.onSwitch(a.VIP);
                    },
                    children: [ Object(g["jsx"])(r["View"], {
                        className: "title",
                        children: "唯品会"
                    }), Object(g["jsx"])(r["View"], {
                        className: P()("label", {
                            active: t.activeKey === a.VIP
                        }),
                        children: "大牌折扣"
                    }) ]
                }) ]
            });
        }), L = (n(440), function() {
            var t = Object(h["c"])(), e = Object(h["a"])(), n = Object(u["d"])(function(t) {
                return t.weapp.mp;
            }), p = n.miniServiceType, f = n.showLlzb, b = n.showDefIndex, O = Object(s["useState"])(""), j = Object(c["a"])(O, 2), y = j[0], k = j[1], A = Object(s["useState"])([]), x = Object(c["a"])(A, 2), T = x[0], P = x[1];
            return Object(s["useEffect"])(function() {
                d["F"].fetchJxCode().then(function(t) {
                    return t.data;
                }).then(function(t) {
                    var e;
                    if (0 !== t.code) return Object(o["showToast"])({
                        title: t.msg,
                        icon: "none"
                    }), !1;
                    var n = (null === t || void 0 === t || null === (e = t.data) || void 0 === e ? void 0 : e.jxCode) || {}, a = Object.keys(n).map(function(t) {
                        return {
                            key: Object(i["a"])(),
                            code: n[t],
                            title: t
                        };
                    });
                    a.unshift({
                        code: "",
                        title: "优选",
                        key: Object(i["a"])()
                    }), P(a);
                });
            }, []), Object(s["useEffect"])(function() {
                e ? 1 === p ? k(t ? a.TAO : a.PDD) : [ 4, 5, 6 ].includes(p) && k(f ? a.LLZB : a.PDD) : k(1 === b && f ? a.LLZB : 2 === b ? a.PDD : 3 === b && t ? a.TAO : 4 === b ? a.JD : a.PDD);
            }, [ e, p, b, f, t ]), Object(g["jsxs"])(r["View"], {
                className: "platform-goods",
                children: [ Object(g["jsx"])(S, {
                    activeKey: y,
                    onSwitch: k
                }), y === a.JD && Object(g["jsx"])(m, {}), y === a.TAO && Object(g["jsx"])(v, {}), y === a.PDD && Object(g["jsx"])(I, {}), y === a.LLZB && Object(g["jsx"])(l["a"], {}), y === a.VIP && T.length ? Object(g["jsx"])(w, {
                    categories: T
                }) : null ]
            });
        });
    },
    11: function(t, e, n) {
        "use strict";
        var a = n(2), c = n(21);
        Object(a["addInterceptor"])(function(t) {
            return t.requestParams.data.isJson = 1, t.requestParams.data.t = Object(c["a"])().valueOf(), 
            t.proceed(t.requestParams);
        });
        var r = function(t) {
            var e = Object(a["request"])(t);
            return e.then(function(e) {
                console.log(t.url), console.log(t.data), console.log(e.data);
            }), e;
        };
        e["a"] = r;
    },
    110: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        }), n.d(e, "b", function() {
            return c;
        });
        var a = "UPDATE_LOCATE_CITY", c = "UPDATE_SELECT_CITY";
    },
    111: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        }), n.d(e, "b", function() {
            return c;
        });
        var a = "UPDATE_WEAPP_MP", c = "UPDATE_WEAPP_MP_PARAM";
    },
    112: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        }), n.d(e, "b", function() {
            return c;
        });
        var a = "UPDATE_ARRIVE_CITY_ID", c = "UPDATE_CITY_NAME";
    },
    142: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        });
        var a = "UPDATE_GOODS_CAT_ID";
    },
    143: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        });
        var a = "UPDATE_SHOW_COMMISSION";
    },
    144: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        });
        var a = "UPDATE_ADDRESS_LIST";
    },
    145: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        });
        var a = "UPDATE_SHOW_ELE";
    },
    16: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return a["b"];
        }), n.d(e, "c", function() {
            return r;
        }), n.d(e, "e", function() {
            return o;
        }), n.d(e, "a", function() {
            return s;
        }), n.d(e, "d", function() {
            return l;
        });
        var a = n(17), c = {
            TAO_KOU_LING: /((\uffe5|\u300a|\u20ac|\$|\u20b4|\u20b0|\xa5|\xa2|\u20b3|\u20a4|\xa3|\u2714|\()[a-zA-Z\d]+(\uffe5|\u300a|\u20ac|\$|\u20b4|\u20b0|\xa5|\xa2|\u20b3|\u20a4|\xa3|\u2714|\)))|(\u3010.+\u3011.+[a-zA-Z\d]{11})|(\d.+[a-zA-Z\d]{11})/,
            MOBILE_PHONE_LOOSE: /^(?:(?:\+|00)86)?1[3-9]\d{9}$/,
            MOBILE_PHONE_STRICT: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/,
            WEIXIN_ACCOUNT: /^[-_a-zA-Z0-9]{6,20}$/,
            CHINESE_NAME: /^(?:[\u4e00-\u9fa5\xb7]{2,16})$/,
            ID_NUMBER_2: /^[1-9]\d{5}(?:18|19|20)\d{2}(?:0[1-9]|10|11|12)(?:0[1-9]|[1-2]\d|30|31)\d{3}[\dXx]$/,
            NUMBER: /^\d{1,}$/
        }, r = c, i = {
            DIDI: "wxaf35009675aa0b2a",
            PDD: "wx32540bd863b27570",
            JD: "wx91d27dbf599dff74",
            ELE: "wxece3a9a4c82f58c9",
            MT: "wxde8ac0a21135c07d",
            MTYX: "wx77af438b3505c00e",
            VIP: "wxe9714e742209d35f",
            DDJY: "wx0d252f6ed9755862",
            GDDC: "wxbc0cf9b963bd3550"
        }, o = i, u = [ {
            key: "jx",
            title: "精选",
            goodsType: "",
            cid: ""
        }, {
            key: "my",
            title: "母婴",
            goodsType: "4",
            cid: "1"
        }, {
            key: "bh",
            title: "百货",
            goodsType: "8",
            cid: "8"
        }, {
            key: "ms",
            title: "美食",
            goodsType: "5",
            cid: "2"
        }, {
            key: "nvzhuang",
            title: "女装",
            goodsType: "1",
            cid: "3"
        }, {
            key: "mz",
            title: "美妆",
            goodsType: "6",
            cid: "4"
        }, {
            key: "xb",
            title: "鞋包",
            goodsType: "3",
            cid: "7"
        }, {
            key: "nanzhuang",
            title: "男装",
            goodsType: "2",
            cid: "5"
        }, {
            key: "sm",
            title: "数码",
            goodsType: "7",
            cid: "9"
        } ], s = u, d = {
            AUTH_INFO: "AUTH_INFO",
            DEFAULT_RATIO: "DEFAULT_RATIO",
            MP_INFO: "MP_INFO",
            MP_EXTEND: "MP_EXTEND",
            LAUNCH_PARAMS: "LAUNCH_PARAMS",
            LAUNCH_SCENE: "LAUNCH_SCENE",
            SEARCH_HISTORY: "SEARCH_HISTORY",
            LAST_CLIPBOARD_DATA: "LAST_CLIPBOARD_DATA",
            SHOW_NEW_FREE: "SHOW_NEW_FREE:",
            SYSTEM_INFO: "SYSTEM_INFO",
            BANNER_LIST: "BANNER_LIST",
            ACCOUNT_INFO: "ACCOUNT_INFO",
            BUSINESS_TYPE: "BUSINESS_TYPE",
            CURRENT_WEAPP_MP: "CURRENT_WEAPP_MP",
            IS_MPUSER_ONCE: "MPUSER_ONCE",
            TUAN_GOODS_SCENE: "TUAN_GOODS_SCENE",
            ADDRESS_LIST: "ADDRESS_LIST",
            SHARE_AGENT_ID: "SHARE_AGENT_ID",
            SILENT_LOGIN_FAILED: "SILENT_LOGIN_FAILED",
            MOVIE_CITY_ID: "MOVIE_CITY_ID",
            MOVIE_CITY_REGION_NAME: "MOVIE_CITY_REGION_NAME",
            MOVIE_CITY_LIST: "MOVIE_CITY_LIST",
            MOVIE_POSITION_LONGITUDE: "MOVIE_POSITION_LONGITUDE",
            MOVIE_POSITION_LATITUDE: "MOVIE_POSITION_LATITUDE",
            LOCATION_TIMESTAMP: "LOCATION_TIMESTAMP",
            MOVIE_CINEMA_INFO: "MOVIE_CINEMA_INFO",
            MOVIE_HALL_INFO: "MOVIE_HALL_INFO",
            MOVIE_ORDER_INFO: "MOVIE_ORDER_INFO",
            LAST_CINEMA_ORIGIN: "LAST_CINEMA_ORIGIN",
            ARRIVE_CITY_ID: "ARRIVE_CITY_ID",
            ARRIVE_CITY_NAME: "ARRIVE_CITY_NAME",
            ARRIVE_SHOP_LIST: "ARRIVE_SHOP_LIST",
            MOVIE_CHANGE_SEAT_STATUS: "MOVIE_CHANGE_SEAT_STATUS",
            GRID_CACHE: "GRID_CACHE",
            BANNER_CACHE: "BANNER_CACHE",
            CUSTOM_GRID_LIST: "CUSTOM_GRID_LIST",
            AROUND_TOUR_CITY_KEYS: "AROUND_TOUR_CITY_KEYS"
        }, l = d;
    },
    17: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return c;
        });
        var a = n(20);
        function c() {
            var t = {
                MP: "",
                QT2: "",
                REWU: "",
                ZHUAN: "https://zhuan.qingting123.com",
                HYK_CDN: "https://cdn.haoyiku.com.cn",
                MP_STATIC: "https://mpstatic.qingting123.com",
                TB_M_H5API: "https://h5api.m.taobao.com"
            };
            var e = Object(a["a"])(), n = e.miniProgram, c = n.appId, r = n.envVersion, i = void 0 === r ? "release" : r;
            return "develop" === i || "trial" === i || "release" === i ? (t.MP = "https://mp.tiyeji.com", 
            t.QT2 = "https://qt2.qingting123.com", t.REWU = "https://rwapi.rewuyqt.com/ps", 
            "wx54ef709ab84d2c5c" !== c && "wxb04ccd673ed61967" !== c || (t.QT2 = "https://www.qingting123.com"), 
            "wx653ba854995a3896" === c && (t.QT2 = "https://www.qingting123.com"), t) : (t.MP = "https://mp.tiyeji.com", 
            t.QT2 = "https://qt2.qingting123.com", t.REWU = "https://rwapi.rewuyqt.com/ps", 
            t);
        }
        var r = c();
        e["b"] = r;
    },
    20: function(t, e, n) {
        "use strict";
        n.d(e, "d", function() {
            return a["getSystemInfoSync"];
        }), n.d(e, "a", function() {
            return a["getAccountInfoSync"];
        }), n.d(e, "e", function() {
            return a["stopPullDownRefresh"];
        }), n.d(e, "b", function() {
            return a["getLaunchOptionsSync"];
        }), n.d(e, "c", function() {
            return r;
        });
        var a = n(2), c = n.n(a), r = function() {
            return c.a.getMenuButtonBoundingClientRect();
        };
    },
    21: function(t, e, n) {
        "use strict";
        var a = n(47);
        n.d(e, "a", function() {
            return a["a"];
        });
    },
    221: function(t, e, n) {
        "use strict";
        var a = n(6), c = n.n(a), r = n(12), i = n(2), o = n.n(i);
        e["a"] = {
            getItem: function(t) {
                return Object(r["a"])(c.a.mark(function e() {
                    var n;
                    return c.a.wrap(function(e) {
                        while (1) switch (e.prev = e.next) {
                          case 0:
                            return e.next = 2, o.a.getStorage({
                                key: t
                            });

                          case 2:
                            return n = e.sent, e.abrupt("return", n.data);

                          case 4:
                          case "end":
                            return e.stop();
                        }
                    }, e);
                }))();
            },
            setItem: function(t, e) {
                return o.a.setStorage({
                    key: t,
                    data: e
                });
            },
            removeItem: function(t) {
                return o.a.removeStorage({
                    key: t
                });
            }
        };
    },
    222: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return c;
        });
        var a = function() {
            var t = [];
            return t;
        }, c = a();
    },
    251: function(t, e, n) {
        "use strict";
        var a = n(79), c = n(7), r = n(59), i = {
            loginStatus: !1,
            agent: {},
            mp: {},
            mpUser: {},
            isMpUser: !1,
            trusted: !1,
            block: !0,
            currentWeappMp: {},
            approved: !1
        };
        function o() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : i, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case r["f"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    loginStatus: e.loginStatus
                });

              case r["a"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    agent: e.agent
                });

              case r["g"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    mp: e.mp
                });

              case r["h"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    mpUser: e.mpUser
                });

              case r["e"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    isMpUser: e.isMpUser
                });

              case r["i"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    trusted: e.trusted
                });

              case r["c"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    block: e.block
                });

              case r["d"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    currentWeappMp: e.mp
                });

              case r["b"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    approved: e.approved
                });

              default:
                return t;
            }
        }
        var u = n(142), s = {
            goodsCatId: ""
        }, d = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case u["a"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    goodsCatId: e.goodsCatId
                });

              default:
                return t;
            }
        }, l = n(2), h = n.n(l), p = n(16), f = n(60), b = {
            cityId: "",
            regionName: "",
            longitude: "",
            latitude: "",
            timestamp: "",
            filmList: [],
            cinemaList: [],
            showList: [],
            sysParams: {}
        }, O = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : b, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case f["b"]:
                return h.a.setStorageSync(p["d"].MOVIE_CITY_ID, e.cityId), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    cityId: e.cityId
                });

              case f["c"]:
                return h.a.setStorageSync(p["d"].MOVIE_CITY_REGION_NAME, e.regionName), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    regionName: e.regionName
                });

              case f["g"]:
                return h.a.setStorageSync(p["d"].MOVIE_POSITION_LONGITUDE, e.longitude), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    longitude: e.longitude
                });

              case f["f"]:
                return h.a.setStorageSync(p["d"].MOVIE_POSITION_LATITUDE, e.latitude), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    latitude: e.latitude
                });

              case f["e"]:
                return h.a.setStorageSync(p["d"].LOCATION_TIMESTAMP, e.timestamp), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    timestamp: e.timestamp
                });

              case f["d"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    filmList: e.filmList
                });

              case f["a"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    cinemaList: e.cinemaList
                });

              case f["h"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    showList: e.showList
                });

              case f["i"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    sysParams: e.sysParams
                });

              default:
                return t;
            }
        }, j = n(51), g = n(95), m = {
            agentId: "",
            yhGoodsList: []
        };
        function v() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : m, e = arguments.length > 1 ? arguments[1] : void 0;
            if (e.type === g["b"]) return e.agentId ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                agentId: e.agentId
            }) : t;
            if (e.type === g["c"]) {
                if (!e.payload.agentId) return t;
                if (!e.payload.goodsId) return t;
                if (!t.yhGoodsList) return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    yhGoodsList: [ e.payload ]
                });
                var n = t.yhGoodsList.find(function(t) {
                    return t.goodsId == e.payload.goodsId;
                });
                if (n) {
                    var a = t.yhGoodsList.map(function(t) {
                        return t.goodsId == e.payload.goodsId ? e.payload : t;
                    });
                    return Object(c["a"])(Object(c["a"])({}, t), {}, {
                        yhGoodsList: a
                    });
                }
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    yhGoodsList: [].concat(Object(j["a"])(t.yhGoodsList), [ e.payload ])
                });
            }
            if (e.type === g["a"]) {
                if (!e.goodsId) return t;
                var r = t.yhGoodsList.filter(function(t) {
                    return t.goodsId != e.goodsId;
                });
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    yhGoodsList: r
                });
            }
            return t;
        }
        var y = v, k = n(111), A = {
            mp: {},
            mpParam: {}
        };
        function x() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : A, e = arguments.length > 1 ? arguments[1] : void 0;
            return e.type === k["a"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                mp: e.mp
            }) : e.type === k["b"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                mpParam: e.mpParam
            }) : t;
        }
        var I = n(112), w = {
            cityId: "",
            cityName: ""
        }, T = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : w, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case I["a"]:
                return h.a.setStorageSync(p["d"].ARRIVE_CITY_ID, e.cityId), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    cityId: e.cityId
                });

              case I["b"]:
                return h.a.setStorageSync(p["d"].ARRIVE_CITY_NAME, e.cityName), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    cityName: e.cityName
                });

              default:
                return t;
            }
        }, P = n(143), S = {
            showCommission: !1
        };
        function L() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : S, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case P["a"]:
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    showCommission: e.showCommission
                });

              default:
                return t;
            }
        }
        var M = n(144), N = {
            list: []
        }, C = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : N, e = arguments.length > 1 ? arguments[1] : void 0;
            switch (e.type) {
              case M["a"]:
                return h.a.setStorageSync(p["d"].ADDRESS_LIST, e.list), Object(c["a"])(Object(c["a"])({}, t), {}, {
                    list: e.list
                });

              default:
                return t;
            }
        }, E = n(145), _ = {
            showEle: !1
        }, D = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : _, e = arguments.length > 1 ? arguments[1] : void 0;
            return e.type === E["a"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                showEle: e.showEle
            }) : t;
        }, R = n(110), V = {
            originCity: {
                cityName: "选择城市",
                locationId: 16
            },
            locateCity: {
                cityName: "",
                locationId: 0
            },
            selectCity: {
                cityName: "",
                locationId: 0
            }
        };
        function B() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : V, e = arguments.length > 1 ? arguments[1] : void 0;
            return e.type === R["a"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                locateCity: e.locateCity
            }) : e.type === R["b"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                selectCity: e.selectCity
            }) : t;
        }
        var G = n(96), U = {
            routers: [],
            activeKey: ""
        }, F = function() {
            var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : U, e = arguments.length > 1 ? arguments[1] : void 0;
            if (e.type === G["c"]) {
                if (!e.router) return t;
                if (!e.router.path) return t;
                if (!e.router.params) return t;
                var n = e.router, a = n.path, r = n.params, i = t.routers.find(function(t) {
                    return t.path === a;
                });
                if (i) {
                    var o = t.routers.map(function(t) {
                        return t.path === a && (t.params = r), t;
                    });
                    return Object(c["a"])(Object(c["a"])({}, t), {}, {
                        routers: o
                    });
                }
                return t.routers.push(e.router), t;
            }
            if (e.type === G["a"]) {
                if (!e.path) return t;
                var u = t.routers.find(function(t) {
                    return t.path === e.path;
                });
                if (!u) return t;
                var s = t.routers.filter(function(t) {
                    return t.path !== e.path;
                });
                return Object(c["a"])(Object(c["a"])({}, t), {}, {
                    routers: s
                });
            }
            return e.type === G["b"] ? Object(c["a"])(Object(c["a"])({}, t), {}, {
                activeKey: e.activeKey
            }) : t;
        };
        e["a"] = Object(a["b"])({
            user: o,
            group: d,
            movie: O,
            share: y,
            weapp: x,
            arrive: T,
            rebate: L,
            address: C,
            takeout: D,
            lianlian: B,
            switchTab: F
        });
    },
    27: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return O;
        });
        var a = n(6), c = n.n(a), r = n(14), i = n(15), o = n(12), u = n(2), s = n.n(u), d = n(22), l = n(36), h = n(64), p = function(t) {
            s.a.showToast({
                icon: "none",
                title: t.errMsg
            });
        };
        function f(t) {
            return b.apply(this, arguments);
        }
        function b() {
            return b = Object(o["a"])(c.a.mark(function t(e) {
                var n, a, r, i, o;
                return c.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (n = e.path, a = e.params, r = void 0 === a ? {} : a, i = e.openType, o = "".concat(n, "?").concat(d["qs"].stringify(r)), 
                        "navigate" !== i) {
                            t.next = 4;
                            break;
                        }
                        return t.abrupt("return", s.a.navigateTo({
                            url: o,
                            fail: p
                        }));

                      case 4:
                        if ("redirect" !== i) {
                            t.next = 6;
                            break;
                        }
                        return t.abrupt("return", s.a.redirectTo({
                            url: o,
                            fail: p
                        }));

                      case 6:
                        if ("switchTab" !== i) {
                            t.next = 8;
                            break;
                        }
                        return t.abrupt("return", s.a.switchTab({
                            url: o,
                            fail: p
                        }));

                      case 8:
                        return t.abrupt("return", s.a.navigateTo({
                            url: o,
                            fail: p
                        }));

                      case 9:
                      case "end":
                        return t.stop();
                    }
                }, t);
            })), b.apply(this, arguments);
        }
        var O = function() {
            function t() {
                Object(r["a"])(this, t);
            }
            return Object(i["a"])(t, null, [ {
                key: "openHome",
                value: function() {
                    var t = "/pages/main/home/index";
                    return f({
                        openType: "switchTab",
                        path: t
                    });
                }
            }, {
                key: "openEleme",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "waimai", e = {
                        tabKey: t
                    }, n = "/pages/main/ele/index";
                    var a = {
                        path: n,
                        params: e
                    };
                    return l["a"].dispatch(Object(h["c"])(a)), f({
                        path: n,
                        openType: "switchTab"
                    });
                }
            }, {
                key: "openMeituan",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "waimai", e = {
                        tabKey: t
                    }, n = "/pages/main/meituan/index";
                    var a = {
                        path: n,
                        params: e
                    };
                    return l["a"].dispatch(Object(h["c"])(a)), f({
                        path: n,
                        openType: "switchTab"
                    });
                }
            }, {
                key: "openMallRebate",
                value: function() {
                    var t = "/pages/super_cash/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openArrive",
                value: function() {
                    var t = "/pages/main/arrive/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openDidi",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "didi", e = {
                        tabKey: t
                    }, n = "/pages/didi/index", a = {
                        path: n,
                        params: e
                    };
                    return l["a"].dispatch(Object(h["c"])(a)), f({
                        path: n,
                        openType: "switchTab"
                    });
                }
            }, {
                key: "openSelect",
                value: function() {
                    var t = "/pages/main/select/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openMovie",
                value: function() {
                    var t = "/pages/main/movie/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openClock",
                value: function() {
                    var t = "/packageG/clock/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openTJP",
                value: function(t) {
                    var e = "/pages/rebate/categorie/index", n = {
                        platform: t
                    };
                    return f({
                        path: e,
                        params: n,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openVip",
                value: function() {
                    var t = "/pages/vip/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openOnePointNineAndBrand",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "ydjby", e = "/pages/rebate/hot/index", n = {
                        type: t
                    };
                    return f({
                        path: e,
                        params: n,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openTodayHot",
                value: function() {
                    var t = "/pages/rebate/rank/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openNewAndFree",
                value: function() {
                    var t = "/pages/new_free/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openCate",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "my", e = "/pages/rebate/categorie/index", n = {
                        categoryKey: t
                    };
                    return f({
                        path: e,
                        params: n,
                        openType: "navigate"
                    });
                }
            }, {
                key: "openDineAndDash",
                value: function() {
                    var t = "/pages/dine_and_dash_h5/index";
                    return f({
                        path: t,
                        openType: "navigate"
                    });
                }
            } ]), t;
        }();
    },
    28: function(t, e, n) {
        "use strict";
        var a = n(14), c = n(15), r = n(23), i = n(24), o = n(4), u = n(19), s = n.n(u), d = n(3), l = n(1), h = (n(423), 
        n(0)), p = function(t) {
            Object(r["a"])(n, t);
            var e = Object(i["a"])(n);
            function n(t) {
                var c;
                return Object(a["a"])(this, n), c = e.call(this, t), c.state = {}, c;
            }
            return Object(c["a"])(n, [ {
                key: "render",
                value: function() {
                    var t = this.props.type;
                    return Object(h["jsxs"])(l["View"], {
                        className: "page-scroll",
                        style: {
                            color: this.props.fontColor
                        },
                        children: [ Object(h["jsxs"])(l["View"], {
                            className: s()("loading", {
                                active: "loading" === t
                            }),
                            children: [ Object(h["jsx"])(l["Image"], {
                                className: "icon",
                                src: "http://cdn.meizhuan.cn/pic-go/spinner-20211025.gif"
                            }), Object(h["jsx"])(l["Text"], {
                                className: "label",
                                children: "正在加载..."
                            }) ]
                        }), Object(h["jsx"])(l["View"], {
                            className: s()("end", {
                                active: "end" === t
                            }),
                            children: Object(h["jsx"])(l["Text"], {
                                className: "text",
                                children: "已经到底了"
                            })
                        }), Object(h["jsxs"])(l["View"], {
                            className: s()("blank", {
                                active: "blank" === t
                            }),
                            children: [ Object(h["jsx"])(l["Image"], {
                                className: "blank-img",
                                src: "http://cdn.meizhuan.cn/pic-go/no-data-20211025.png",
                                mode: "widthFix"
                            }), Object(h["jsx"])(l["Text"], {
                                className: "text",
                                children: this.props.blankText
                            }) ]
                        }), Object(h["jsx"])(l["View"], {
                            className: s()("pull", {
                                active: "pull" === t
                            }),
                            children: Object(h["jsx"])(l["Text"], {
                                className: "text",
                                children: "上拉加载更多"
                            })
                        }) ]
                    });
                }
            } ]), n;
        }(d["Component"]);
        Object(o["a"])(p, "defaultProps", {
            type: "",
            blankText: "还没有数据~",
            fontColor: "#999"
        }), e["a"] = p;
    },
    30: function(t, e, n) {
        "use strict";
        var a = n(10), c = n(19), r = n.n(c), i = n(1), o = n(3), u = n(2), s = (n(368), 
        n(0)), d = function() {
            return Object(u["pageScrollTo"])({
                scrollTop: 0,
                duration: 300
            });
        }, l = function() {
            var t = Object(o["useState"])(!1), e = Object(a["a"])(t, 2), n = e[0], c = e[1];
            return Object(u["usePageScroll"])(function(t) {
                return !(n && t.scrollTop >= 15) && (!(!n && t.scrollTop < 15) && void c(!n));
            }), Object(s["jsx"])(i["View"], {
                onClick: d,
                className: r()("scroll-top", {
                    visible: n
                }),
                children: Object(s["jsx"])(i["Image"], {
                    className: "scroll-top-icon",
                    src: "http://cdn.meizhuan.cn/pic-go/top-210719.png"
                })
            });
        };
        e["a"] = l;
    },
    31: function(t, e, n) {
        "use strict";
        n.d(e, "f", function() {
            return i;
        }), n.d(e, "a", function() {
            return o;
        }), n.d(e, "g", function() {
            return u;
        }), n.d(e, "h", function() {
            return s;
        }), n.d(e, "e", function() {
            return d;
        }), n.d(e, "i", function() {
            return l;
        }), n.d(e, "c", function() {
            return h;
        }), n.d(e, "d", function() {
            return p;
        }), n.d(e, "b", function() {
            return f;
        });
        var a = n(2), c = n(59), r = n(16), i = function(t) {
            if (t) {
                var e = r["d"].SILENT_LOGIN_FAILED;
                Object(a["setStorageSync"])(e, !1);
            }
            return {
                type: c["f"],
                loginStatus: t
            };
        }, o = function(t) {
            return {
                type: c["a"],
                agent: t
            };
        }, u = function(t) {
            return {
                type: c["g"],
                mp: t
            };
        }, s = function(t) {
            return {
                type: c["h"],
                mpUser: t
            };
        }, d = function(t) {
            return {
                type: c["e"],
                isMpUser: t
            };
        }, l = function(t) {
            return {
                type: c["i"],
                trusted: t
            };
        }, h = function(t) {
            return {
                type: c["c"],
                block: t
            };
        }, p = function(t) {
            return {
                type: c["d"],
                mp: t
            };
        }, f = function(t) {
            return {
                type: c["b"],
                approved: t
            };
        };
    },
    32: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return a;
        }), n.d(e, "a", function() {
            return c;
        });
        var a = function(t) {
            var e = t ? new Date(t) : new Date();
            return e.getTime();
        }, c = function(t) {
            var e = 1e3, n = 60 * e, a = 60 * n, c = 24 * a, r = 7 * c, i = 365.25 * c;
            t = Math.abs(t);
            var o = "";
            return o = t >= i ? Math.round(t / i) + "年前" : t >= r ? Math.round(t / r) + "周前" : t >= c ? Math.round(t / c) + "天前" : t >= a ? Math.round(t / a) + "小时前" : t >= n ? Math.round(t / n) + "分钟前" : "刚刚", 
            o;
        };
    },
    33: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return o;
        }), n.d(e, "g", function() {
            return u;
        }), n.d(e, "h", function() {
            return s;
        }), n.d(e, "a", function() {
            return d;
        }), n.d(e, "d", function() {
            return l;
        }), n.d(e, "e", function() {
            return h;
        }), n.d(e, "i", function() {
            return p;
        }), n.d(e, "f", function() {
            return f;
        });
        var a = n(25), c = n(60);
        function r(t) {
            if (!t) return t;
            var e = t.toString();
            if (-1 === e.indexOf(".")) return t;
            var n = e.split(".")[1].length;
            return n <= 10 ? t : Object(a["add"])(t, 0, {
                fixed: 10
            });
        }
        var i = function(t) {
            return {
                type: c["b"],
                cityId: t
            };
        }, o = function(t) {
            return {
                type: c["d"],
                filmList: t
            };
        }, u = function(t) {
            return {
                type: c["h"],
                showList: t
            };
        }, s = function(t) {
            return {
                type: c["i"],
                sysParams: t
            };
        }, d = function(t) {
            return {
                type: c["a"],
                cinemaList: t
            };
        }, l = function(t) {
            return {
                type: c["f"],
                latitude: r(t)
            };
        }, h = function(t) {
            return {
                type: c["g"],
                longitude: r(t)
            };
        }, p = function(t) {
            return {
                type: c["e"],
                timestamp: t
            };
        }, f = function(t) {
            return {
                type: c["c"],
                regionName: t
            };
        };
    },
    35: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        }), n.d(e, "b", function() {
            return c;
        }), n.d(e, "c", function() {
            return r;
        });
        var a = "scope.address", c = "scope.userLocation", r = "scope.writePhotosAlbum";
    },
    36: function(t, e, n) {
        "use strict";
        (function(t) {
            var a = n(51), c = n(41), r = n(2), i = n.n(r), o = n(79), u = n(165), s = n(53), d = n(221), l = n(251), h = n(222), p = "object" === ("undefined" === typeof t ? "undefined" : Object(c["a"])(t)) && t.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? t.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : o["c"], f = "root", b = Object(u["b"])({
                key: f,
                storage: d["a"],
                timeout: null,
                blacklist: [ "switchTab" ],
                debug: !1
            }, l["a"]), O = p(o["a"].apply(void 0, Object(a["a"])(h["a"]))), j = {}, g = i.a.getStorageSync("".concat(u["a"]).concat(f));
            if (g) {
                var m = JSON.parse(g);
                Object.keys(m).forEach(function(t) {
                    j[t] = JSON.parse(m[t]);
                });
            }
            console.log(j);
            var v = Object(o["d"])(b, j, O);
            v.dispatch(Object(s["b"])({
                cityName: "",
                locationId: 0
            })), console.log(v.getState());
            Object(u["c"])(v);
            e["a"] = v;
        }).call(this, n(18)["window"]);
    },
    368: function(t, e, n) {},
    37: function(t, e, n) {
        "use strict";
        var a = n(14), c = n(15), r = n(5), i = n(23), o = n(24), u = n(4), s = n(2), d = n.n(s), l = n(77), h = n.n(l), p = n(3), f = n(1), b = n(20), O = (n(418), 
        n(0));
        function j() {
            var t, e, n = Object(b["d"])() || {
                model: "",
                system: ""
            };
            n.system && (t = !!(n.system.toLowerCase().search("ios") + 1));
            try {
                if (e = Object(b["c"])(), null === e) throw "getMenuButtonBoundingClientRect error";
                if (!e.width || !e.top || !e.left || !e.height) throw "getMenuButtonBoundingClientRect error";
            } catch (r) {
                var a = "", c = 96;
                "android" === n.platform ? (a = 8, c = 96) : "devtools" === n.platform ? a = t ? 5.5 : 7.5 : (a = 4, 
                c = 88), n.statusBarHeight || (n.statusBarHeight = n.screenHeight - n.windowHeight - 20), 
                e = {
                    bottom: n.statusBarHeight + a + 32,
                    height: 32,
                    left: n.windowWidth - c - 10,
                    right: n.windowWidth - 10,
                    top: n.statusBarHeight + a,
                    width: c
                }, console.log("error", r), console.log("rect", e);
            }
            var r = "";
            return n.statusBarHeight ? (r = function() {
                var t = e.top - n.statusBarHeight;
                return n.statusBarHeight + 2 * t + e.height;
            }(), n.navBarExtendHeight = t ? 4 : 0) : (n.statusBarHeight = n.screenHeight - n.windowHeight - 20, 
            r = function() {
                var t = e.top - n.statusBarHeight;
                return 2 * t + e.height;
            }(), n.statusBarHeight = 0, n.navBarExtendHeight = 0), n.navBarHeight = r, n.capsulePosition = e, 
            n.ios = t, d.a.globalSystemInfo = n, n;
        }
        var g = j(), m = function(t) {
            Object(i["a"])(n, t);
            var e = Object(o["a"])(n);
            function n(t) {
                var c;
                return Object(a["a"])(this, n), c = e.call(this, t), Object(u["a"])(Object(r["a"])(c), "componentDidShow", function() {
                    g.ios && (g = j(), c.setState({
                        configStyle: c.setStyle(g)
                    }));
                }), Object(u["a"])(Object(r["a"])(c), "handleBackClick", function() {
                    if (h()(c.props.onBack)) c.props.onBack(); else {
                        var t = d.a.getCurrentPages();
                        t.length >= 2 && d.a.navigateBack({
                            delta: c.props.delta
                        });
                    }
                }), Object(u["a"])(Object(r["a"])(c), "handleGoHomeClick", function() {
                    h()(c.props.onHome) && c.props.onHome();
                }), Object(u["a"])(Object(r["a"])(c), "handleSearchClick", function() {
                    h()(c.props.onSearch) && c.props.onSearch();
                }), c.state = {
                    configStyle: c.setStyle(g)
                }, c.options = {
                    multipleSlots: !0,
                    addGlobalClass: !0
                }, c;
            }
            return Object(c["a"])(n, [ {
                key: "setStyle",
                value: function(t) {
                    var e = t.statusBarHeight, n = t.navBarHeight, a = t.capsulePosition, c = t.navBarExtendHeight, r = t.ios, i = t.windowWidth, o = this.props, u = o.back, s = o.home, d = o.title, l = o.color, h = i - a.right, p = i - a.left, f = [ "color:".concat(l), "height:".concat(n + c, "px"), "padding-top:".concat(e, "px"), "padding-right:".concat(p, "px"), "padding-bottom:".concat(c, "px") ].join(";"), b = [];
                    return b = u && !s || !u && s ? [ "width:".concat(a.width, "px"), "height:".concat(a.height, "px"), "margin-left:0px", "margin-right:".concat(h, "px") ].join(";") : u && s || d ? [ "width:".concat(a.width, "px"), "height:".concat(a.height, "px"), "margin-left:".concat(h, "px") ].join(";") : [ "width:auto", "margin-left:0px" ].join(";"), 
                    {
                        navigationbarinnerStyle: f,
                        navBarLeft: b,
                        navBarHeight: n,
                        capsulePosition: a,
                        navBarExtendHeight: c,
                        ios: r,
                        rightDistance: h
                    };
                }
            }, {
                key: "render",
                value: function() {
                    var t = this.state.configStyle, e = t.navigationbarinnerStyle, n = t.navBarLeft, a = t.navBarHeight, c = t.capsulePosition, r = t.navBarExtendHeight, i = t.ios, o = t.rightDistance, u = this.props, s = u.title, d = u.background, l = u.backgroundColorTop, h = u.back, p = u.home, b = u.searchBar, j = u.searchText, g = u.iconTheme, m = u.extClass, v = null;
                    return v = s ? Object(O["jsx"])(f["Text"], {
                        children: s
                    }) : b ? Object(O["jsxs"])(f["View"], {
                        className: "lxy-nav-bar-search",
                        style: "height:".concat(c.height, "px;"),
                        onClick: this.handleSearchClick.bind(this),
                        children: [ Object(O["jsx"])(f["View"], {
                            className: "lxy-nav-bar-search__icon"
                        }), Object(O["jsx"])(f["View"], {
                            className: "lxy-nav-bar-search__input",
                            children: j
                        }) ]
                    }) : this.props.renderCenter, Object(O["jsxs"])(f["View"], {
                        className: "lxy-nav-bar ".concat(i ? "ios" : "android", " ").concat(m),
                        style: "background: ".concat(l || d, ";height:").concat(a + r, "px;"),
                        children: [ Object(O["jsx"])(f["View"], {
                            className: "lxy-nav-bar__placeholder ".concat(i ? "ios" : "android"),
                            style: "padding-top: ".concat(a + r, "px;")
                        }), Object(O["jsxs"])(f["View"], {
                            className: "lxy-nav-bar__inner ".concat(i ? "ios" : "android"),
                            style: "background:".concat(d, ";").concat(e, ";"),
                            children: [ Object(O["jsxs"])(f["View"], {
                                className: "lxy-nav-bar__left",
                                style: n,
                                children: [ h && !p && Object(O["jsx"])(f["View"], {
                                    onClick: this.handleBackClick.bind(this),
                                    hoverClass: "nav-bar-hover-class",
                                    className: "lxy-nav-bar__button lxy-nav-bar__btn_goback ".concat(g)
                                }), !h && p && Object(O["jsx"])(f["View"], {
                                    onClick: this.handleGoHomeClick.bind(this),
                                    hoverClass: "nav-bar-hover-class",
                                    className: "lxy-nav-bar__button lxy-nav-bar__btn_gohome ".concat(g)
                                }), h && p && Object(O["jsxs"])(f["View"], {
                                    className: "lxy-nav-bar__buttons ".concat(i ? "ios" : "android"),
                                    children: [ Object(O["jsx"])(f["View"], {
                                        onClick: this.handleBackClick.bind(this),
                                        hoverClass: "nav-bar-hover-class",
                                        className: "lxy-nav-bar__button lxy-nav-bar__btn_goback ".concat(g)
                                    }), Object(O["jsx"])(f["View"], {
                                        onClick: this.handleGoHomeClick.bind(this),
                                        hoverClass: "nav-bar-hover-class",
                                        className: "lxy-nav-bar__button lxy-nav-bar__btn_gohome ".concat(g, "}")
                                    }) ]
                                }), !h && !p && this.props.renderLeft ]
                            }), Object(O["jsx"])(f["View"], {
                                className: "lxy-nav-bar__center",
                                style: "padding-left: ".concat(o, "px"),
                                children: v
                            }), Object(O["jsx"])(f["View"], {
                                className: "lxy-nav-bar__right",
                                style: "margin-right: ".concat(o, "px"),
                                children: this.props.renderRight
                            }) ]
                        }) ]
                    });
                }
            } ]), n;
        }(p["Component"]);
        Object(u["a"])(m, "defaultProps", {
            extClass: "",
            background: "rgba(255,255,255,1)",
            color: "#000000",
            title: "",
            searchText: "点我搜索",
            searchBar: !1,
            back: !1,
            home: !1,
            iconTheme: "black",
            delta: 1
        }), e["a"] = m;
    },
    372: function(t, e, n) {},
    373: function(t, e, n) {},
    374: function(t, e, n) {},
    38: function(t, e, n) {
        "use strict";
        var a = n(14), c = n(15), r = n(113), i = n.n(r), o = n(36), u = function() {
            function t() {
                Object(a["a"])(this, t);
            }
            return Object(c["a"])(t, [ {
                key: "getGoodsRewardStatus",
                value: function() {
                    var t = o["a"].getState(), e = t.user.mp;
                    if (e.mpId) return e.goodsRewardStatus;
                    var n = t.user.currentWeappMp;
                    return n.mpId ? n.goodsRewardStatus : 0;
                }
            }, {
                key: "showInList",
                value: function() {
                    var t = o["a"].getState(), e = t.user.currentWeappMp, n = e.fanType;
                    if (0 == n) return !0;
                    var a = t.user.isMpUser;
                    if (1 == n) return a;
                    var c = t.user.agent;
                    return 2 == n && c.agentExtendType > 20;
                }
            }, {
                key: "showInDetail",
                value: function() {
                    var t = o["a"].getState(), e = t.user, n = e.currentWeappMp, a = e.agent, c = e.isMpUser, r = n.fanType;
                    return 0 == r || (1 == r ? c : 2 == r && a.agentExtendType > 20);
                }
            }, {
                key: "getDefaultRatio",
                value: function() {
                    var t = [ "mamaRatio", "pddRatio", "jdRatio", "vipRatio", "privilegeRatio", "agentRatio", "newRatio", "v2Ratio", "zjRatio", "topAgentRatio1", "topAgentRatio1Tz", "topAgentRatio1Zj", "topAgentRatio2", "topAgentRatio2Tz", "topAgentRatio2V3", "topAgentRatio3", "topAgentRatio4", "topAgentRatio5", "topAgentRatio6", "topAgentRatio7", "topAgentRatio8", "assistantRatio", "promoterRatio", "goodsRewardAgentRatio", "tuanSelfCommissionRate" ], e = o["a"].getState(), n = e.user.mp;
                    if (n.mpId) return i()(n, t);
                    var a = e.user.currentWeappMp;
                    return a.mpId ? i()(a, t) : {};
                }
            }, {
                key: "getStandardValue",
                value: function(t, e) {
                    var n = this.getDefaultRatio(), a = n.agentRatio, c = void 0 === a ? 0 : a, r = n.goodsRewardAgentRatio, i = void 0 === r ? 0 : r, o = this.getGoodsRewardStatus();
                    if (1 == t || 2 == t || 3 == t) {
                        var u = n.mamaRatio, s = void 0 === u ? 0 : u;
                        return o ? Math.floor(e * i * ((100 - s) / 100) * 1) / 100 : Math.floor(e * c * ((100 - s) / 100) * 1) / 100;
                    }
                    if (10 == t) {
                        var d = n.pddRatio, l = void 0 === d ? 0 : d;
                        return o ? Math.floor(e * i * ((100 - l) / 100) * 1) / 100 : Math.floor(e * c * ((100 - l) / 100) * 1) / 100;
                    }
                    if (20 == t) {
                        var h = n.jdRatio, p = void 0 === h ? 0 : h;
                        return o ? Math.floor(e * i * ((100 - p) / 100) * .9) / 100 : Math.floor(e * c * ((100 - p) / 100) * .9) / 100;
                    }
                    if (30 == t) {
                        var f = n.vipRatio, b = void 0 === f ? 0 : f;
                        return o ? Math.floor(e * i * ((100 - b) / 100) * 1) / 100 : Math.floor(e * c * ((100 - b) / 100) * 1) / 100;
                    }
                    return 0;
                }
            }, {
                key: "getPrivilegeValue",
                value: function(t, e) {
                    var n = this.getDefaultRatio(), a = n.privilegeRatio, c = void 0 === a ? 0 : a;
                    if (1 == t || 2 == t || 3 == t) {
                        var r = n.mamaRatio, i = void 0 === r ? 0 : r;
                        return Math.floor(e * c * ((100 - i) / 100) * 1) / 100;
                    }
                    if (10 == t) {
                        var o = n.pddRatio, u = void 0 === o ? 0 : o;
                        return Math.floor(e * c * ((100 - u) / 100) * 1) / 100;
                    }
                    if (20 == t) {
                        var s = n.jdRatio, d = void 0 === s ? 0 : s;
                        return Math.floor(e * c * ((100 - d) / 100) * .9) / 100;
                    }
                    if (30 == t) {
                        var l = n.vipRatio, h = void 0 === l ? 0 : l;
                        return Math.floor(e * c * ((100 - h) / 100) * 1) / 100;
                    }
                    return 0;
                }
            }, {
                key: "getZjValue",
                value: function(t, e) {
                    var n = this.getDefaultRatio(), a = n.zjRatio, c = void 0 === a ? 0 : a;
                    if (1 == t || 2 == t || 3 == t) {
                        var r = n.mamaRatio, i = void 0 === r ? 0 : r;
                        return Math.floor(e * c * ((100 - i) / 100) * 1) / 100;
                    }
                    if (10 == t) {
                        var o = n.pddRatio, u = void 0 === o ? 0 : o;
                        return Math.floor(e * c * ((100 - u) / 100) * 1) / 100;
                    }
                    if (20 == t) {
                        var s = n.jdRatio, d = void 0 === s ? 0 : s;
                        return Math.floor(e * c * ((100 - d) / 100) * .9) / 100;
                    }
                    if (30 == t) {
                        var l = n.vipRatio, h = void 0 === l ? 0 : l;
                        return Math.floor(e * c * ((100 - h) / 100) * 1) / 100;
                    }
                    return 0;
                }
            } ]), t;
        }();
        e["a"] = new u();
    },
    39: function(t, e, n) {
        "use strict";
        var a, c, r = n(6), i = n.n(r), o = n(12), u = n(14), s = n(15), d = n(5), l = n(23), h = n(24), p = n(4), f = n(2), b = n.n(f), O = n(29), j = n.n(O), g = n(19), m = n.n(g), v = n(77), y = n.n(v), k = n(9), A = n(3), x = n(1), I = n(45), w = n(31), T = n(50), P = n(16), S = n(8), L = (n(372), 
        n(0)), M = function(t) {
            var e = t.user, n = t.share;
            return {
                user: e,
                share: n
            };
        }, N = function(t) {
            return {
                onUpdateMp: function(e) {
                    t(Object(w["g"])(e));
                },
                onUpdateAgent: function(e) {
                    t(Object(w["a"])(e));
                },
                onUpdateBlock: function(e) {
                    t(Object(w["c"])(e));
                },
                onUpdateTrusted: function(e) {
                    t(Object(w["i"])(e));
                },
                onUpdateLoginStatus: function(e) {
                    t(Object(w["f"])(e));
                }
            };
        }, C = (a = Object(k["b"])(M, N), a(c = function(t) {
            Object(l["a"])(n, t);
            var e = Object(h["a"])(n);
            function n(t) {
                var a;
                return Object(u["a"])(this, n), a = e.call(this, t), Object(p["a"])(Object(d["a"])(a), "getScene", function() {
                    var t = P["d"].LAUNCH_PARAMS, e = b.a.getStorageSync(t);
                    return !!e && (!!e.scene && e.scene);
                }), Object(p["a"])(Object(d["a"])(a), "getUserProfile", Object(o["a"])(i.a.mark(function t() {
                    var e, n, c, r, o, u, s, d, l, h, p;
                    return i.a.wrap(function(t) {
                        while (1) switch (t.prev = t.next) {
                          case 0:
                            return a.setState({
                                _show: !1
                            }), a.props.onCloseLogin(), t.next = 4, b.a.getUserProfile({
                                lang: "zh_CN",
                                desc: "获取用户信息"
                            });

                          case 4:
                            return e = t.sent, n = e.userInfo, t.next = 8, b.a.login();

                          case 8:
                            return c = t.sent, r = c.code, o = {
                                code: r,
                                encryptedData: JSON.stringify(n)
                            }, u = a.getScene(), u && (o.scene = u), s = a.props.share.agentId, s && (o.shareAgentId = s, 
                            d = a.props.user.currentWeappMp, l = d.miniServiceType, h = d.mpType, 9 === h ? o.wmShareAgentId = s : 2 === l || 3 === l ? o.tgShareAgentId = s : 1 === l && (o.flShareAgentId = s)), 
                            a.props.isNeedCreateAgent && (o.isNeedCreateAgent = 1), t.prev = 16, b.a.showLoading({
                                title: "正在登录"
                            }), t.next = 20, S["S"].saveXcxUserInfoNew(o).then(function(t) {
                                return t.data;
                            });

                          case 20:
                            if (p = t.sent, 1 != p.code && 2 != p.code) {
                                t.next = 27;
                                break;
                            }
                            return Object(I["f"])(p), a.props.onUpdateLoginStatus(!0), t.next = 26, a.refreshUserInfo();

                          case 26:
                            return t.abrupt("return", !1);

                          case 27:
                            b.a.showToast({
                                title: p.msg || "登录失败",
                                icon: "none"
                            }), t.next = 33;
                            break;

                          case 30:
                            t.prev = 30, t.t0 = t["catch"](16), b.a.showToast({
                                title: (null === t.t0 || void 0 === t.t0 ? void 0 : t.t0.errMsg) || "登录失败",
                                icon: "none"
                            });

                          case 33:
                          case "end":
                            return t.stop();
                        }
                    }, t, null, [ [ 16, 30 ] ]);
                }))), Object(p["a"])(Object(d["a"])(a), "navigate", function() {
                    var t = a.props.onSuccess;
                    return t && y()(t) ? (t(), !1) : a.redirectUrl ? (b.a.reLaunch({
                        url: a.redirectUrl
                    }), !1) : void b.a.reLaunch({
                        url: "/pages/main/home/index"
                    });
                }), Object(p["a"])(Object(d["a"])(a), "phoneInput", function(t) {
                    a.setState({
                        phoneNum: t.detail.value
                    });
                }), Object(p["a"])(Object(d["a"])(a), "checkCodeInput", function(t) {
                    a.setState({
                        checkCode: t.detail.value
                    });
                }), Object(p["a"])(Object(d["a"])(a), "getCheckCode", function() {
                    var t = a.state.timerText;
                    if ("获取校验码" != t) return !1;
                    var e = a.state.phoneNum;
                    if (e = e.trim(), !e) return b.a.showToast({
                        title: "请输入手机号码",
                        icon: "none"
                    }), !1;
                    var n = /^1\d{10}$/;
                    if (!n.test(e)) return b.a.showToast({
                        title: "请输入有效的手机号码",
                        icon: "none"
                    }), !1;
                    var c = {
                        phoneNum: e
                    };
                    S["G"].getCheckCode(c).then(function(t) {
                        return t.data;
                    }).then(function(t) {
                        if (0 == t.code) return b.a.showToast({
                            title: "发送成功",
                            icon: "none"
                        }), a.startTimer(), !1;
                        t.msg = t.msg || "发送失败", b.a.showToast({
                            title: t.msg,
                            icon: "none"
                        });
                    });
                }), Object(p["a"])(Object(d["a"])(a), "startTimer", function() {
                    var t = 180, e = setInterval(function() {
                        if (t) return a.setState({
                            timerText: t--
                        }), !1;
                        a.setState({
                            timerText: "获取校验码"
                        }), clearInterval(e), e = null;
                    }, 1e3);
                }), Object(p["a"])(Object(d["a"])(a), "submitBind", Object(o["a"])(i.a.mark(function t() {
                    var e, n, c;
                    return i.a.wrap(function(t) {
                        while (1) switch (t.prev = t.next) {
                          case 0:
                            if (e = a.state.phoneNum, e = e.trim(), e) {
                                t.next = 5;
                                break;
                            }
                            return b.a.showToast({
                                title: "请输入手机号码",
                                icon: "none"
                            }), t.abrupt("return", !1);

                          case 5:
                            if (n = a.state.checkCode, n = n.trim(), n) {
                                t.next = 10;
                                break;
                            }
                            return b.a.showToast({
                                title: "请输入验证码",
                                icon: "none"
                            }), t.abrupt("return", !1);

                          case 10:
                            c = {
                                phoneNum: e,
                                code: n
                            }, S["G"].setPhone(c).then(function(t) {
                                return t.data;
                            }).then(function(t) {
                                if (0 == t.code) return b.a.showToast({
                                    title: "绑定成功",
                                    icon: "none"
                                }), a.refreshUserInfo(), !1;
                                t.msg = t.msg || "设置失败", b.a.showToast({
                                    title: t.msg,
                                    icon: "none"
                                });
                            });

                          case 12:
                          case "end":
                            return t.stop();
                        }
                    }, t);
                }))), Object(p["a"])(Object(d["a"])(a), "refreshUserInfo", Object(o["a"])(i.a.mark(function t() {
                    var e, n, c, r, o, u, s, d, l, h;
                    return i.a.wrap(function(t) {
                        while (1) switch (t.prev = t.next) {
                          case 0:
                            return t.next = 2, S["G"].getSessionAgentInfo().then(function(t) {
                                return t.data;
                            });

                          case 2:
                            if (e = t.sent, 0 != e.code || !e.agent) {
                                t.next = 23;
                                break;
                            }
                            if (-1 !== e.agent.agentStatus) {
                                t.next = 8;
                                break;
                            }
                            return b.a.showToast({
                                title: "该账号状态异常，无法登录",
                                icon: "none"
                            }), b.a.clearStorage(), t.abrupt("return", !1);

                          case 8:
                            return a.props.onUpdateAgent(e.agent), t.next = 11, Object(I["d"])();

                          case 11:
                            return n = t.sent, a.props.onUpdateTrusted(n), t.next = 15, Object(I["e"])();

                          case 15:
                            if (c = t.sent, a.props.onUpdateBlock(c), r = e.agent.agentId, !r) {
                                t.next = 23;
                                break;
                            }
                            return t.next = 21, T["a"].getMpByAgent({
                                agentId: r
                            });

                          case 21:
                            o = t.sent, 0 == o.data.code && (u = P["d"].MP_INFO, b.a.setStorageSync(u, o.data.mp), 
                            a.props.onUpdateMp(o.data.mp));

                          case 23:
                            return t.next = 25, T["a"].getDefalutRatio();

                          case 25:
                            if (s = t.sent, 0 == s.data.code && (d = P["d"].DEFAULT_RATIO, b.a.setStorageSync(d, s.data.ratio)), 
                            b.a.hideLoading(), l = Object(I["b"])(), !l.agentId && !l.unionId) {
                                t.next = 32;
                                break;
                            }
                            return a.navigate(), t.abrupt("return", !1);

                          case 32:
                            if (h = Object(I["a"])(), !h) {
                                t.next = 36;
                                break;
                            }
                            return a.navigate(), t.abrupt("return", !1);

                          case 36:
                            a.setState({
                                bind: !0
                            });

                          case 37:
                          case "end":
                            return t.stop();
                        }
                    }, t);
                }))), Object(p["a"])(Object(d["a"])(a), "closeLogin", function() {
                    var t = a.props.onCloseLogin;
                    t && t();
                }), Object(p["a"])(Object(d["a"])(a), "closeBind", function() {
                    var t = a.props.onCloseBind;
                    t && t();
                }), Object(p["a"])(Object(d["a"])(a), "loginWithH5", function() {
                    var t = a.state, e = t.account, n = t.password, c = {
                        account: e,
                        password: n
                    };
                    S["G"].login(c).then(function(t) {
                        return t.data;
                    }).then(function(t) {
                        "0" === t.code ? a.props.onUpdateLoginStatus(!0) : b.a.showToast({
                            title: t.msg,
                            icon: "none"
                        });
                    });
                }), a.state = {
                    _show: !1,
                    bind: !1,
                    phoneNum: "",
                    checkCode: "",
                    timerText: "获取校验码",
                    account: "",
                    password: ""
                }, a.redirectUrl = "", a;
            }
            return Object(s["a"])(n, [ {
                key: "UNSAFE_componentWillReceiveProps",
                value: function(t) {
                    this.state.bind !== t.bind && t.bind && this.setState({
                        bind: !0
                    }), this.state._show !== t.show && this.setState({
                        _show: t.show
                    }), this.redirectUrl !== t.redirectUrl && (this.redirectUrl = t.redirectUrl);
                }
            }, {
                key: "render",
                value: function() {
                    var t = this.props.enableClose, e = this.props.user.loginStatus, n = this.props.user.currentWeappMp.miniServiceType, a = this.state, c = a.bind, r = a._show, i = a.phoneNum, o = a.checkCode, u = a.timerText;
                    return c ? Object(L["jsx"])(x["View"], {
                        className: "layer",
                        children: Object(L["jsxs"])(x["View"], {
                            className: "bind-dialog",
                            children: [ Object(L["jsx"])(x["View"], {
                                className: "head",
                                children: Object(L["jsx"])(x["View"], {
                                    className: "title",
                                    children: "绑定手机号码"
                                })
                            }), Object(L["jsxs"])(x["View"], {
                                className: "body",
                                children: [ Object(L["jsxs"])(x["View"], {
                                    className: "content",
                                    children: [ Object(L["jsxs"])(x["View"], {
                                        className: "item",
                                        children: [ Object(L["jsx"])(x["Input"], {
                                            className: "input",
                                            value: i,
                                            placeholder: "请输入手机号",
                                            onInput: this.phoneInput
                                        }), Object(L["jsx"])(x["View"], {
                                            onClick: this.getCheckCode,
                                            className: "extra",
                                            children: u
                                        }) ]
                                    }), Object(L["jsx"])(x["View"], {
                                        className: "item",
                                        children: Object(L["jsx"])(x["Input"], {
                                            className: "input",
                                            value: o,
                                            placeholder: "请输入校验码",
                                            onInput: this.checkCodeInput
                                        })
                                    }) ]
                                }), Object(L["jsx"])(x["View"], {
                                    className: "button-wrap",
                                    children: Object(L["jsx"])(x["View"], {
                                        className: "button",
                                        onClick: this.submitBind,
                                        children: Object(L["jsx"])(x["Text"], {
                                            children: "提交"
                                        })
                                    })
                                }) ]
                            }) ]
                        })
                    }) : e ? Object(L["jsx"])(x["View"], {}) : [ 1, 4, 5, 6, 7, 8 ].includes(n) ? Object(L["jsxs"])(x["View"], {
                        className: m()("login-dialog", "at-float-layout", {
                            "at-float-layout--active": r
                        }),
                        children: [ Object(L["jsx"])(x["View"], {
                            className: "at-float-layout__overlay",
                            onClick: this.closeLogin
                        }), Object(L["jsxs"])(x["View"], {
                            className: "at-float-layout__container",
                            children: [ Object(L["jsx"])(x["View"], {
                                className: "layout-opacity"
                            }), Object(L["jsxs"])(x["View"], {
                                className: "layout-body",
                                children: [ "WEAPP" === b.a.getEnv() && Object(L["jsx"])(x["View"], {
                                    className: "avatar",
                                    children: Object(L["jsx"])("open-data", {
                                        type: "userAvatarUrl"
                                    })
                                }), "WEAPP" === b.a.getEnv() && Object(L["jsx"])(x["View"], {
                                    className: "nickname",
                                    children: Object(L["jsx"])("open-data", {
                                        type: "userNickName"
                                    })
                                }), null, Object(L["jsx"])(x["Button"], {
                                    className: "btn login takeout",
                                    type: "primary",
                                    onClick: this.getUserProfile,
                                    children: "微信一键登录"
                                }), t && Object(L["jsx"])(x["Text"], {
                                    onClick: this.closeLogin,
                                    className: "cancel-login",
                                    children: "暂不登录"
                                }), Object(L["jsxs"])(x["View"], {
                                    className: "agreement",
                                    children: [ Object(L["jsx"])(x["View"], {
                                        className: "line"
                                    }), Object(L["jsx"])(x["Text"], {
                                        className: "word",
                                        children: "登录即同意我们 《用户协议》"
                                    }), Object(L["jsx"])(x["View"], {
                                        className: "line"
                                    }) ]
                                }) ]
                            }) ]
                        }) ]
                    }) : r ? Object(L["jsx"])(x["View"], {
                        className: "layer",
                        children: Object(L["jsx"])(x["View"], {
                            className: "auth-dialog auth",
                            children: Object(L["jsxs"])(x["View"], {
                                className: "body",
                                children: [ "WEAPP" === b.a.getEnv() && Object(L["jsx"])(x["View"], {
                                    className: "avatar",
                                    children: Object(L["jsx"])("open-data", {
                                        type: "userAvatarUrl"
                                    })
                                }), "WEAPP" === b.a.getEnv() && Object(L["jsx"])(x["View"], {
                                    className: "nickname",
                                    children: Object(L["jsx"])("open-data", {
                                        type: "userNickName"
                                    })
                                }), Object(L["jsx"])(x["View"], {
                                    className: "btn-wrapper",
                                    children: Object(L["jsx"])(x["Button"], {
                                        type: "primary",
                                        className: "btn login",
                                        onClick: this.getUserProfile,
                                        children: "微信一键登录"
                                    })
                                }), t && Object(L["jsx"])(x["Text"], {
                                    onClick: this.closeLogin,
                                    className: "cancel-login",
                                    children: "暂不登录"
                                }), Object(L["jsx"])(x["Text"], {
                                    className: "agreement",
                                    children: "登录即同意我们 《用户协议》"
                                }) ]
                            })
                        })
                    }) : Object(L["jsx"])(x["View"], {});
                }
            } ]), n;
        }(A["Component"])) || c);
        C.defaultProps = {
            show: !1,
            bind: !1,
            redirectUrl: "",
            enableClose: !1,
            isNeedCreateAgent: 0,
            onCloseLogin: function() {},
            onCloseBind: function() {},
            onSuccess: null
        }, C.propType = {
            show: j.a.bool,
            bind: j.a.bool,
            redirectUrl: j.a.string,
            enableClose: j.a.bool,
            isNeedCreateAgent: j.a.number,
            onCloseLogin: j.a.func,
            onCloseBind: j.a.func,
            onSuccess: j.a.oneOfType([ j.a.object, j.a.func ])
        }, e["a"] = C;
    },
    418: function(t, e, n) {},
    419: function(t, e, n) {},
    42: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return r;
        }), n.d(e, "a", function() {
            return i;
        });
        var a = n(46), c = n(0), r = function(t) {
            var e = t.children, n = t.fallback, r = Object(a["c"])();
            return r ? Object(c["jsx"])(c["Fragment"], {
                children: e
            }) : n ? Object(c["jsx"])(c["Fragment"], {
                children: n
            }) : null;
        }, i = function(t) {
            var e = t.children, n = t.fallback, r = Object(a["a"])();
            return r ? n ? Object(c["jsx"])(c["Fragment"], {
                children: n
            }) : null : Object(c["jsx"])(c["Fragment"], {
                children: e
            });
        };
    },
    423: function(t, e, n) {},
    43: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return s;
        }), n.d(e, "a", function() {
            return l;
        });
        var a = n(10), c = n(2), r = n(3), i = n(39), o = n(0), u = Object(r["createContext"])({
            openLogin: function() {}
        }), s = function() {
            return Object(r["useContext"])(u);
        }, d = function() {
            return Object(c["showToast"])({
                title: "登录成功",
                icon: "none"
            });
        }, l = function(t) {
            var e = t.children, n = Object(r["useState"])(!1), c = Object(a["a"])(n, 2), s = c[0], l = c[1], h = Object(r["useCallback"])(function() {
                return l(!0);
            }, []), p = Object(r["useCallback"])(function() {
                return l(!1);
            }, []);
            return Object(o["jsxs"])(u.Provider, {
                value: {
                    openLogin: h
                },
                children: [ e, Object(o["jsx"])(i["a"], {
                    show: s,
                    enableClose: !0,
                    onSuccess: d,
                    onCloseLogin: p
                }) ]
            });
        };
    },
    435: function(t, e, n) {},
    436: function(t, e, n) {},
    437: function(t, e, n) {},
    438: function(t, e, n) {},
    439: function(t, e, n) {},
    44: function(t, e, n) {
        "use strict";
        n.d(e, "c", function() {
            return d;
        }), n.d(e, "a", function() {
            return l;
        }), n.d(e, "b", function() {
            return h;
        });
        var a = n(6), c = n.n(a), r = n(12), i = n(2), o = n.n(i), u = n(22), s = n.n(u), d = (n(36), 
        function(t) {
            try {
                var e = s()(t, !0);
                return "https:" === e.protocol ? t : (e.set("protocol", "https:"), e.href);
            } catch (e) {
                return console.log(e), t;
            }
        }), l = function() {
            var t = Object(r["a"])(c.a.mark(function t(e) {
                var n, a, r, i, s, d, l, h, p, f, b, O, j, g, m, v, y, k, A, x, I, w, T, P, S, L;
                return c.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e) {
                            t.next = 2;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 2:
                        if (n = e.goodsFrom, n) {
                            t.next = 5;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 5:
                        if (a = e.itemId, 30 != n) {
                            t.next = 13;
                            break;
                        }
                        return r = "/pages/vip_detail/index", i = u["qs"].stringify({
                            itemId: a
                        }), s = "".concat(r, "?").concat(i), console.log(s), o.a.navigateTo({
                            url: s
                        }), t.abrupt("return", !1);

                      case 13:
                        if (20 != n) {
                            t.next = 21;
                            break;
                        }
                        return d = e.isOutsideGoods, l = void 0 === d ? 0 : d, h = "/pages/detail/jd/item/index", 
                        p = u["qs"].stringify({
                            itemId: a,
                            isOutsideGoods: l
                        }), f = "".concat(h, "?").concat(p), console.log(f), o.a.navigateTo({
                            url: f
                        }), t.abrupt("return", !1);

                      case 21:
                        if (10 != n) {
                            t.next = 30;
                            break;
                        }
                        return b = "/pages/detail/pdd/item/index", O = e.goodsSign, j = void 0 === O ? "" : O, 
                        g = e.zsDuoId, m = void 0 === g ? "" : g, v = e.isOutsideGoods, y = void 0 === v ? "" : v, 
                        k = {
                            itemId: a,
                            isOutsideGoods: y,
                            goodsSign: j,
                            zsDuoId: m
                        }, A = u["qs"].stringify(k), x = "".concat(b, "?").concat(A), console.log(x), o.a.navigateTo({
                            url: x
                        }), t.abrupt("return", !1);

                      case 30:
                        if (1 != n && 2 != n && 3 != n) {
                            t.next = 39;
                            break;
                        }
                        return I = e.isOutsideGoods, w = void 0 === I ? 0 : I, T = "/pages/detail/tao/item/index", 
                        P = {
                            itemId: e.goodsTbId || a,
                            isOutsideGoods: w
                        }, S = u["qs"].stringify(P), L = "".concat(T, "?").concat(S), console.log(L), o.a.navigateTo({
                            url: L
                        }), t.abrupt("return", !1);

                      case 39:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function(e) {
                return t.apply(this, arguments);
            };
        }(), h = function(t) {
            if (!t) return console.error("openGroupDetail: 商品信息 goods 不能为空"), !1;
            var e = t.tuanGoodsType, n = t.tuanGoodsId, a = t.taokerTuanGoodsId;
            if (0 === e) {
                var c = "/pages/detail/tuan/private/index", r = u["qs"].stringify({
                    tuanGoodsId: n
                }), i = "".concat(c, "?").concat(r);
                return o.a.navigateTo({
                    url: i
                }), !1;
            }
            if (1 === e) {
                var s = t.yqtGoodsId, d = "/pages/detail/tuan/rewu/index", l = u["qs"].stringify({
                    tuanGoodsId: n,
                    yqtGoodsId: s,
                    taokerTuanGoodsId: a
                }), h = "".concat(d, "?").concat(l);
                return o.a.navigateTo({
                    url: h
                }), !1;
            }
            if (2 === e) {
                var p = "/pages/detail/tuan/taoker/index", f = u["qs"].stringify({
                    tuanGoodsId: n
                }), b = "".concat(p, "?").concat(f);
                return o.a.navigateTo({
                    url: b
                }), !1;
            }
            if (3 === e) {
                var O = "/pages/detail/tuan/taobao/index", j = u["qs"].stringify({
                    tuanGoodsId: n
                }), g = "".concat(O, "?").concat(j);
                return o.a.navigateTo({
                    url: g
                }), !1;
            }
        };
    },
    440: function(t, e, n) {},
    45: function(t, e, n) {
        "use strict";
        n.d(e, "f", function() {
            return b;
        }), n.d(e, "b", function() {
            return O;
        }), n.d(e, "a", function() {
            return g;
        }), n.d(e, "d", function() {
            return A;
        }), n.d(e, "c", function() {
            return x;
        }), n.d(e, "e", function() {
            return I;
        });
        var a = n(41), c = n(6), r = n.n(c), i = n(12), o = n(2), u = n.n(o), s = n(36), d = n(8), l = n(50), h = n(16), p = n(20), f = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e = g(), e) {
                            t.next = 3;
                            break;
                        }
                        return t.abrupt("return", {});

                      case 3:
                        return n = {
                            agentId: e
                        }, t.next = 6, l["a"].getMpByAgent(n).then(function(t) {
                            return t.data;
                        });

                      case 6:
                        if (a = t.sent, 0 == a.code) {
                            t.next = 9;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 9:
                        c = h["d"].MP_INFO, u.a.setStorageSync(c, a.mp);

                      case 11:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }(), b = function(t) {
            if (!t) throw new Error("authInfo数据异常");
            if ("object" !== Object(a["a"])(t)) throw new Error("authInfo必须是对象类型");
            t.mpDomain = h["b"].MP;
            var e = h["d"].AUTH_INFO;
            u.a.setStorageSync(e, t);
        }, O = function() {
            var t = h["d"].AUTH_INFO, e = u.a.getStorageSync(t);
            return e ? e.mpDomain !== h["b"].MP ? (u.a.removeStorageSync(t), u.a.removeStorageSync("persist:root"), 
            "") : e : "";
        }, j = function() {
            var t = O();
            return !!t;
        }, g = function() {
            return s["a"].getState().user.agent.agentId || "";
        }, m = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c, i;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e = h["d"].MP_INFO, n = u.a.getStorageSync(e), !n) {
                            t.next = 5;
                            break;
                        }
                        return f(), t.abrupt("return", n);

                      case 5:
                        if (a = g(), a) {
                            t.next = 8;
                            break;
                        }
                        return t.abrupt("return", {});

                      case 8:
                        return c = {
                            agentId: a
                        }, t.next = 11, l["a"].getMpByAgent(c).then(function(t) {
                            return t.data;
                        });

                      case 11:
                        if (i = t.sent, 0 == i.code) {
                            t.next = 14;
                            break;
                        }
                        return t.abrupt("return", {});

                      case 14:
                        return u.a.setStorageSync(e, i.mp), t.abrupt("return", i.mp);

                      case 16:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }(), v = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e = h["d"].IS_MPUSER_ONCE, n = u.a.getStorageSync(e), !n) {
                            t.next = 4;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 4:
                        if (a = k(), !a) {
                            t.next = 8;
                            break;
                        }
                        return u.a.setStorageSync(e, !0), t.abrupt("return", !0);

                      case 8:
                        return t.next = 10, m();

                      case 10:
                        if (c = t.sent, c) {
                            t.next = 13;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 13:
                        if (c.mpId) {
                            t.next = 15;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 15:
                        if (0 !== c.mpCat) {
                            t.next = 18;
                            break;
                        }
                        return u.a.setStorageSync(e, !0), t.abrupt("return", !0);

                      case 18:
                        return t.abrupt("return", !1);

                      case 19:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }(), y = function() {
            var t = Object(p["b"])(), e = t.scene;
            return 1035 == e;
        }, k = function() {
            var t = [ 1043, "1043", 1074, "1074", 1082, "1082", 1035, "1035" ], e = Object(p["b"])(), n = e.scene;
            return t.includes(n);
        }, A = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c, i, o, d, l, p, f;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        return t.next = 2, v();

                      case 2:
                        if (e = t.sent, !e) {
                            t.next = 5;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 5:
                        if (n = s["a"].getState().user.currentWeappMp, a = n.trustMenu, c = n.trustSubscribeMp, 
                        i = n.trustTuanzhang, !a) {
                            t.next = 11;
                            break;
                        }
                        if (o = y(), console.log("isMpMenu: ".concat(o)), !o) {
                            t.next = 11;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 11:
                        if (d = s["a"].getState().user.agent, d) {
                            t.next = 14;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 14:
                        if (!c) {
                            t.next = 19;
                            break;
                        }
                        if (l = h["d"].MP_INFO, p = u.a.getStorageSync(l) || {}, f = p.mpCat, 0 !== f) {
                            t.next = 19;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 19:
                        if (!i) {
                            t.next = 24;
                            break;
                        }
                        if (31 !== d.agentExtendType) {
                            t.next = 22;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 22:
                        if (41 !== d.agentExtendType) {
                            t.next = 24;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 24:
                        return t.abrupt("return", !1);

                      case 25:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }(), x = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c, i, o, s;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        return t.next = 2, d["O"].fetchMpInfoByMini();

                      case 2:
                        if (e = t.sent, n = e.data, a = n.code, c = n.mp, i = n.fanType, 1 != a) {
                            t.next = 10;
                            break;
                        }
                        return c.fanType = i, c.showMtVip = 0, o = h["d"].CURRENT_WEAPP_MP, u.a.setStorageSync(o, c), 
                        t.abrupt("return", c);

                      case 10:
                        return s = e.data.msg, u.a.showToast({
                            title: s,
                            icon: "none"
                        }), t.abrupt("return", {});

                      case 13:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }(), I = function() {
            var t = Object(i["a"])(r.a.mark(function t() {
                var e, n, a, c, i;
                return r.a.wrap(function(t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e = u.a.getSystemInfoSync(), n = e.platform, "ios" === n || "devtools" === n) {
                            t.next = 3;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 3:
                        return t.next = 5, v();

                      case 5:
                        if (a = t.sent, !a) {
                            t.next = 8;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 8:
                        if (c = j(), c) {
                            t.next = 11;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 11:
                        if (i = s["a"].getState().user.agent, i) {
                            t.next = 14;
                            break;
                        }
                        return t.abrupt("return", !0);

                      case 14:
                        if (31 !== i.agentExtendType) {
                            t.next = 16;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 16:
                        if (41 !== i.agentExtendType) {
                            t.next = 18;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 18:
                        if (22 !== i.agentExtendType) {
                            t.next = 20;
                            break;
                        }
                        return t.abrupt("return", !1);

                      case 20:
                        return t.abrupt("return", !0);

                      case 21:
                      case "end":
                        return t.stop();
                    }
                }, t);
            }));
            return function() {
                return t.apply(this, arguments);
            };
        }();
    },
    458: function(t, e, n) {},
    46: function(t, e, n) {
        "use strict";
        n.d(e, "d", function() {
            return o;
        }), n.d(e, "c", function() {
            return u;
        }), n.d(e, "a", function() {
            return s;
        }), n.d(e, "b", function() {
            return l;
        });
        var a = n(9), c = [ 643642, 7434846, 8090357, 587088, 25456289, 10099952, 7447791, 350024, 8091216, 11776133, 6143508, 565574, 308618, 8221967, 7447079, 13799462, 13456866, 11144303, 563851, 33603783, 14374974 ], r = n(20), i = [ 1047, 1048, 1049 ], o = function() {
            var t = s(), e = Object(a["d"])(function(t) {
                return t;
            }), n = e.share, o = Object(a["d"])(function(t) {
                return t.user;
            }), u = o.agent, d = Object(a["d"])(function(t) {
                return t.weapp.mp;
            }), l = d.testAgentId;
            if (u.agentId && c.includes(u.agentId)) return 3;
            if (u.agentId && l && u.agentId === l) return 3;
            if (!t) return 2;
            if (n.agentId && n.agentId != u.agentId) {
                var h = Object(r["b"])(), p = h.path, f = h.scene;
                if (i.includes(f)) {
                    if ("pages/goodies_goods/index" === p) return 2;
                    if ("pages/collector_activity/index" === p) return 2;
                }
            }
            return 1;
        }, u = function() {
            var t = Object(a["d"])(function(t) {
                return t.user;
            }), e = t.isMpUser, n = Object(a["d"])(function(t) {
                return t.user.agent;
            }), c = n.selfOrderConfirmNum, r = void 0 === c ? 0 : c, i = Object(a["d"])(function(t) {
                return t.weapp.mp;
            }), o = i.hideTaobao, u = i.shopFanxian, s = i.miniServiceType;
            return !o && (!!e && (1 === s && !u || u >= 0 && r >= u));
        }, s = function() {
            var t = Object(a["d"])(function(t) {
                return t.user;
            }), e = t.isMpUser, n = t.approved, c = Object(a["d"])(function(t) {
                return t.user.agent;
            }), r = c.selfOrderConfirmNum, i = void 0 === r ? 0 : r;
            return !n && (!e && !i);
        }, d = (n(113), [ 31, 41, 42 ]), l = function() {
            var t = Object(a["d"])(function(t) {
                return t.user;
            }), e = t.agent;
            return d.includes(e.agentExtendType);
        };
    },
    465: function(t, e, n) {},
    47: function(t, e, n) {
        "use strict";
        var a = n(223), c = n.n(a), r = n(224), i = n.n(r), o = n(225), u = n.n(o), s = n(121), d = n.n(s);
        Object(s["extend"])(c.a), Object(s["extend"])(i.a), Object(s["extend"])(u.a), e["a"] = d.a;
    },
    48: function(t, e, n) {
        "use strict";
        var a = n(7), c = n(14), r = n(15), i = n(5), o = n(23), u = n(24), s = n(4), d = n(2), l = n.n(d), h = n(22), p = n.n(h), f = n(3), b = n(1), O = n(32), j = n(35), g = (n(484), 
        n(0)), m = function(t) {
            Object(o["a"])(n, t);
            var e = Object(u["a"])(n);
            function n(t) {
                var r;
                return Object(c["a"])(this, n), r = e.call(this, t), Object(s["a"])(Object(i["a"])(r), "previewImage", function() {
                    var t = r.props.src;
                    if (!t) return !1;
                    var e = p()(t, !0);
                    if ("wxfile:" === e.protocol) return !1;
                    var n = Object(O["b"])(), c = Object(a["a"])(Object(a["a"])({}, e.query), {}, {
                        t: n
                    });
                    e.set("query", c);
                    var i = [ e.href ];
                    l.a.previewImage({
                        urls: i
                    });
                }), Object(s["a"])(Object(i["a"])(r), "closeHandler", function() {
                    var t = r.props.onClose;
                    t && t();
                }), Object(s["a"])(Object(i["a"])(r), "saveImage", function() {
                    l.a.showLoading({
                        title: "正在保存",
                        mask: !0
                    }), l.a.saveImageToPhotosAlbum({
                        filePath: r.tempFilePath
                    }).then(function() {
                        l.a.showToast({
                            title: "保存成功",
                            icon: "none"
                        });
                    }).catch(function() {
                        l.a.showToast({
                            title: "保存失败",
                            icon: "none"
                        });
                    });
                }), Object(s["a"])(Object(i["a"])(r), "getSetting", function() {
                    l.a.getSetting().then(function(t) {
                        return t.authSetting[j["c"]];
                    }).then(function(t) {
                        t ? r.saveImage() : l.a.authorize({
                            scope: j["c"]
                        }).then(r.saveImage).catch(function() {
                            l.a.showModal({
                                title: "提示",
                                content: "需要您授权保存相册"
                            }).then(function(t) {
                                t.confirm && l.a.openSetting().then(r.saveHandler);
                            });
                        });
                    });
                }), Object(s["a"])(Object(i["a"])(r), "downloadImage", function() {
                    l.a.showLoading({
                        title: "正在下载",
                        mask: !0
                    }), l.a.downloadFile({
                        url: r.props.src,
                        success: function(t) {
                            l.a.hideLoading(), r.tempFilePath = t.tempFilePath, r.getSetting();
                        },
                        fail: function(t) {
                            var e = "下载失败：".concat(t.errMsg);
                            l.a.showToast({
                                title: e,
                                icon: "none"
                            });
                        }
                    });
                }), Object(s["a"])(Object(i["a"])(r), "saveHandler", function() {
                    var t = p()(r.props.src, !0);
                    "http:" !== t.protocol && "https:" !== t.protocol ? (r.tempFilePath = r.props.src, 
                    r.getSetting()) : r.downloadImage();
                }), r.tempFilePath = "", r;
            }
            return Object(r["a"])(n, [ {
                key: "shouldComponentUpdate",
                value: function(t) {
                    return this.props.src !== t.src || (this.props.show !== t.show || this.props.text !== t.text);
                }
            }, {
                key: "render",
                value: function() {
                    var t = this.props, e = t.text, n = t.src, a = t.show;
                    return a ? Object(g["jsx"])(b["View"], {
                        className: "image-dialog",
                        children: Object(g["jsxs"])(b["View"], {
                            className: "content",
                            children: [ Object(g["jsx"])(b["View"], {
                                className: "header"
                            }), Object(g["jsxs"])(b["View"], {
                                className: "body",
                                children: [ Object(g["jsx"])(b["Image"], {
                                    className: "img",
                                    src: n || "http://cdn.meizhuan.cn/pic-go/max-20211026.gif",
                                    mode: "widthFix",
                                    showMenuByLongpress: !0,
                                    onClick: this.previewImage
                                }), Object(g["jsx"])(b["Text"], {
                                    className: "tip",
                                    children: e || ""
                                }) ]
                            }), Object(g["jsxs"])(b["View"], {
                                className: "footer",
                                children: [ Object(g["jsx"])(b["View"], {
                                    className: "btn divider",
                                    onClick: this.saveHandler,
                                    children: "保存相册"
                                }), Object(g["jsx"])(b["View"], {
                                    className: "btn",
                                    onClick: this.closeHandler,
                                    children: "关闭"
                                }) ]
                            }) ]
                        })
                    }) : null;
                }
            } ]), n;
        }(f["Component"]);
        Object(s["a"])(m, "defaultProps", {
            show: !1,
            src: "",
            text: "",
            onClose: function() {}
        }), e["a"] = m;
    },
    484: function(t, e, n) {},
    49: function(t, e, n) {
        "use strict";
        var a = n(14), c = n(15), r = n(5), i = n(23), o = n(24), u = n(4), s = n(2), d = n.n(s), l = n(3), h = n(29), p = n.n(h), f = n(1), b = n(41);
        function O(t, e) {
            var n = t.x, a = t.y, c = t.w, r = t.h, i = t.r, o = e.ctx, u = e.toPx, s = i / 2;
            o.beginPath(), o.moveTo(u(n + s), u(a)), o.lineTo(u(n + c - s), u(a)), o.arc(u(n + c - s), u(a + s), u(s), 2 * Math.PI * (3 / 4), 2 * Math.PI * 1), 
            o.lineTo(u(n + c), u(a + r - s)), o.arc(u(n + c - s), u(a + r - s), u(s), 0, 2 * Math.PI * (1 / 4)), 
            o.lineTo(u(n + s), u(a + r)), o.arc(u(n + s), u(a + r - s), u(s), 2 * Math.PI * (1 / 4), 2 * Math.PI * .5), 
            o.lineTo(u(n), u(a + s)), o.arc(u(n + s), u(a + s), u(s), 2 * Math.PI * .5, 2 * Math.PI * (3 / 4));
        }
        function j(t, e) {
            var n = e.ctx, a = e.toPx, c = e.toRpx, r = [];
            Array.isArray(t) ? r = t : r.push(t);
            var i = 0;
            return r.forEach(function(t) {
                var e = t.fontSize, c = t.text, r = t.marginLeft, o = void 0 === r ? 0 : r, u = t.marginRight, s = void 0 === u ? 0 : u;
                n.setFontSize(a(e));
                var d = 0;
                d = "object" === Object(b["a"])(c) ? n.measureText(c.text).width + c.marginLeft + c.marginRight : n.measureText(c).width, 
                i += d + o + s;
            }), c(i);
        }
        function g(t, e) {
            var n = t.x, a = t.y, c = t.fontSize, r = t.color, i = t.baseLine, o = t.textAlign, u = void 0 === o ? "left" : o, s = t.text, d = t.opacity, l = void 0 === d ? 1 : d, h = t.textDecoration, p = void 0 === h ? "none" : h, f = t.width, O = void 0 === f ? 0 : f, j = t.lineNum, g = void 0 === j ? 1 : j, m = t.lineHeight, v = void 0 === m ? 0 : m, y = t.fontWeight, k = void 0 === y ? "normal" : y, A = t.fontStyle, x = void 0 === A ? "normal" : A, I = t.fontFamily, w = void 0 === I ? "sans-serif" : I, T = e.ctx, P = e.toPx;
            T.save(), T.beginPath(), T.font = x + " " + k + " " + P(c, !0) + "px " + w, T.setGlobalAlpha(l), 
            "object" === Object(b["a"])(s) && (s = s.text), r && T.setFillStyle(r), i && T.setTextBaseline(i), 
            T.setTextAlign(u);
            var S = T.measureText(s).width, L = [], M = P(O);
            if (O && S > M) {
                for (var N = "", C = 1, E = 0; E <= s.length - 1; E++) N += s[E], T.measureText(N).width >= M ? (C === g && E !== s.length - 1 && (N = N.substring(0, N.length - 1) + "..."), 
                C <= g && L.push(N), N = "", C++) : C <= g && E === s.length - 1 && L.push(N);
                S = O;
            } else L.push(s);
            if (L.forEach(function(t, e) {
                T.fillText(t, P(n), P(a + (v || c) * e));
            }), T.restore(), "none" !== p) {
                var _ = a;
                if ("line-through" === p) {
                    _ = a;
                    var D = 5;
                    switch (i) {
                      case "top":
                        _ += c / 2 + D;
                        break;

                      case "middle":
                        break;

                      case "bottom":
                        _ -= c / 2 + D;
                        break;

                      default:
                        _ -= c / 2 - D;
                        break;
                    }
                }
                T.save(), T.moveTo(P(n), P(_)), T.lineTo(P(n) + P(S), P(_)), r && T.setStrokeStyle(r), 
                T.stroke(), T.restore();
            }
            return S;
        }
        function m(t, e) {
            var n = t.x, a = t.y, c = t.text, r = t.baseLine;
            if (Array.isArray(c)) {
                var i = {
                    x: n,
                    y: a,
                    baseLine: r
                };
                c.forEach(function(t) {
                    i.x += t.marginLeft || 0;
                    var n = g(Object.assign(t, Object.assign({}, i)), e);
                    i.x += n + (t.marginRight || 0);
                });
            } else g(t, e);
        }
        function v(t, e) {
            var n = e.ctx, a = e.toPx, c = t.imgPath, r = t.x, i = t.y, o = t.w, u = t.h, s = t.sx, d = t.sy, l = t.sw, h = t.sh, p = t.borderRadius, f = void 0 === p ? 0 : p, b = t.borderWidth, j = void 0 === b ? 0 : b, g = t.borderColor;
            if (n.save(), f > 0) {
                var m = {
                    x: r,
                    y: i,
                    w: o,
                    h: u,
                    r: f
                };
                O(m, e), n.strokeStyle = "rgba(255,255,255,0)", n.stroke(), n.clip(), n.drawImage(c, a(s), a(d), a(l), a(h), a(r), a(i), a(o), a(u)), 
                j > 0 && (g && n.setStrokeStyle(g), n.setLineWidth(a(j)), n.stroke());
            } else n.drawImage(c, a(s), a(d), a(l), a(h), a(r), a(i), a(o), a(u));
            n.restore();
        }
        function y(t, e) {
            var n = t.startX, a = t.startY, c = t.endX, r = t.endY, i = t.color, o = t.width, u = e.ctx, s = e.toPx;
            u.save(), u.beginPath(), i && u.setStrokeStyle(i), u.setLineWidth(s(o)), u.moveTo(s(n), s(a)), 
            u.lineTo(s(c), s(r)), u.stroke(), u.closePath(), u.restore();
        }
        function k(t, e) {
            var n = e.ctx, a = e.toPx, c = t.text, r = t.width, i = void 0 === r ? 0 : r, o = t.height, u = t.x, s = t.y, d = t.paddingLeft, l = void 0 === d ? 0 : d, h = t.paddingRight, p = void 0 === h ? 0 : h, f = t.borderWidth, b = t.backgroundColor, g = t.borderColor, v = t.borderRadius, y = void 0 === v ? 0 : v, k = t.opacity, A = void 0 === k ? 1 : k, x = 0, I = 0, w = 0;
            if ("undefined" !== typeof c) {
                var T = j(c, e);
                x = T > i ? T : i, x += l + l;
                var P = c.textAlign, S = void 0 === P ? "left" : P;
                w = o / 2 + s, I = "left" === S ? u + l : "center" === S ? x / 2 + u : u + x - p;
            } else x = i;
            if (b) {
                if (n.save(), n.setGlobalAlpha(A), n.setFillStyle(b), y > 0) {
                    var L = {
                        x: u,
                        y: s,
                        w: x,
                        h: o,
                        r: y
                    };
                    O(L, e), n.fill();
                } else n.fillRect(a(u), a(s), a(x), a(o));
                n.restore();
            }
            if (f) {
                if (n.save(), n.setGlobalAlpha(A), g && n.setStrokeStyle(g), n.setLineWidth(a(f)), 
                y > 0) {
                    var M = {
                        x: u,
                        y: s,
                        w: x,
                        h: o,
                        r: y
                    };
                    O(M, e), n.stroke();
                } else n.strokeRect(a(u), a(s), a(x), a(o));
                n.restore();
            }
            c && m(Object.assign(c, {
                x: I,
                y: w
            }), e);
        }
        var A = function t(e) {
            var n = Math.random().toString(36).substr(2);
            return n.length >= e ? n.substr(0, e) : (n += t(e - n.length), n);
        }, x = function(t) {
            var e = function(t) {
                var e = t.lineHeight || t.fontSize, n = 0;
                return n = "top" === t.baseLine ? e : "middle" === t.baseLine ? e / 2 : 0, n;
            }, n = [];
            (t.blocks || []).forEach(function(t) {
                n.push(t.y + t.height);
            }), (t.texts || []).forEach(function(t) {
                var a;
                a = e(t), n.push(t.y + a);
            }), (t.images || []).forEach(function(t) {
                n.push(t.y + t.height);
            }), (t.lines || []).forEach(function(t) {
                n.push(t.startY), n.push(t.endY);
            });
            var a = n.sort(function(t, e) {
                return e - t;
            }), c = 0;
            return a.length > 0 && (c = a[0]), t.height < c || !t.height ? c : t.height;
        };
        function I(t) {
            return new Promise(function(e, n) {
                !/^http/.test(t) || new RegExp(wx.env.USER_DATA_PATH).test(t) || /^http:\/\/tmp/.test(t) ? e(t) : d.a.downloadFile({
                    url: t,
                    success: function(t) {
                        200 === t.statusCode ? e(t.tempFilePath) : n(t.errMsg);
                    },
                    fail: function(t) {
                        n(t);
                    }
                });
            });
        }
        function w(t, e) {
            return new Promise(function(n, a) {
                d.a.getImageInfo({
                    src: t
                }).then(function(a) {
                    n({
                        imgPath: t,
                        imgInfo: a,
                        index: e
                    });
                }).catch(function(t) {
                    a(t);
                });
            });
        }
        function T(t, e, n, a) {
            return new Promise(function(c, r) {
                var i = t.x, o = t.y, u = t.url, s = t.zIndex, d = u;
                I(d).then(function(t) {
                    return w(t, e);
                }).then(function(r) {
                    var u, d, l = r.imgPath, h = r.imgInfo, p = t.borderRadius || 0, f = t.width, b = t.height, O = n(h.width / a), j = n(h.height / a);
                    O / j <= f / b ? (u = 0, d = (j - O / f * b) / 2) : (d = 0, u = (O - j / b * f) / 2);
                    var g = {
                        type: "image",
                        borderRadius: p,
                        borderWidth: t.borderWidth,
                        borderColor: t.borderColor,
                        zIndex: "undefined" !== typeof s ? s : e,
                        imgPath: l,
                        sx: u,
                        sy: d,
                        sw: O - 2 * u,
                        sh: j - 2 * d,
                        x: i,
                        y: o,
                        w: f,
                        h: b
                    };
                    c(g);
                }).catch(function(t) {
                    console.log(t), r(t);
                });
            });
        }
        n(465);
        var P = n(0), S = 1, L = function(t) {
            Object(i["a"])(n, t);
            var e = Object(o["a"])(n);
            function n(t) {
                var c;
                return Object(a["a"])(this, n), c = e.call(this, t), Object(u["a"])(Object(r["a"])(c), "toPx", function(t) {
                    var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : c.state.factor;
                    return e ? Math.ceil(t * n * c.state.pixelRatio) : t * n * c.state.pixelRatio;
                }), Object(u["a"])(Object(r["a"])(c), "toRpx", function(t) {
                    var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : c.state.factor;
                    return e ? Math.ceil(t / n) : t / n;
                }), Object(u["a"])(Object(r["a"])(c), "_downloadImageAndInfo", function(t, e, n) {
                    return new Promise(function(a, r) {
                        T(t, e, c.toRpx, n).then(function(t) {
                            c.drawArr.push(t), a(t);
                        }).catch(function(t) {
                            console.log(t), r(t);
                        });
                    });
                }), Object(u["a"])(Object(r["a"])(c), "downloadResource", function(t) {
                    var e = t.images, n = void 0 === e ? [] : e, a = t.pixelRatio, r = void 0 === a ? 1 : a, i = [], o = n;
                    return o.forEach(function(t, e) {
                        return i.push(c._downloadImageAndInfo(t, e, r));
                    }), Promise.all(i);
                }), Object(u["a"])(Object(r["a"])(c), "downloadResourceTransit", function() {
                    var t = c.props.config;
                    return new Promise(function(e, n) {
                        t.images && t.images.length > 0 ? c.downloadResource({
                            images: t.images,
                            pixelRatio: t.pixelRatio || 1
                        }).then(function() {
                            e();
                        }).catch(function(t) {
                            n(t);
                        }) : setTimeout(function() {
                            e(1);
                        }, 500);
                    });
                }), Object(u["a"])(Object(r["a"])(c), "initCanvas", function(t, e, n) {
                    return new Promise(function(a) {
                        c.setState({
                            pxWidth: c.toPx(t),
                            pxHeight: c.toPx(e),
                            debug: n
                        }, a);
                    });
                }), Object(u["a"])(Object(r["a"])(c), "onCreate", function() {
                    var t = c.props, e = t.onCreateFail, n = t.config;
                    return !1 === n["hide-loading"] && d.a.showLoading({
                        mask: !0,
                        title: "生成中..."
                    }), c.downloadResourceTransit().then(function() {
                        c.create(n);
                    }).catch(function(t) {
                        n["hide-loading"] && d.a.hideLoading(), console.error(t), e || console.warn("您必须实现 taro-plugin-canvas 组件的 onCreateFail 方法，详见文档 https://github.com/chuyun/taro-plugin-canvas#fail"), 
                        e && e(t);
                    });
                }), Object(u["a"])(Object(r["a"])(c), "create", function(t) {
                    c.ctx = d.a.createCanvasContext(c.canvasId, c.$scope);
                    var e = x(t);
                    c.setState({
                        pixelRatio: t.pixelRatio || 1
                    }, function() {
                        c.initCanvas(t.width, e, t.debug).then(function() {
                            t.backgroundColor && (c.ctx.save(), c.ctx.setFillStyle(t.backgroundColor), c.ctx.fillRect(0, 0, c.toPx(t.width), c.toPx(e)), 
                            c.ctx.restore());
                            var n = t.texts, a = void 0 === n ? [] : n, r = t.blocks, i = void 0 === r ? [] : r, o = t.lines, u = void 0 === o ? [] : o, s = c.drawArr.concat(a.map(function(t) {
                                return t.type = "text", t.zIndex = t.zIndex || 0, t;
                            })).concat(i.map(function(t) {
                                return t.type = "block", t.zIndex = t.zIndex || 0, t;
                            })).concat(u.map(function(t) {
                                return t.type = "line", t.zIndex = t.zIndex || 0, t;
                            }));
                            s.sort(function(t, e) {
                                return t.zIndex - e.zIndex;
                            }), s.forEach(function(t) {
                                var e = {
                                    ctx: c.ctx,
                                    toPx: c.toPx,
                                    toRpx: c.toRpx
                                };
                                "image" === t.type ? null !== e.ctx && v(t, e) : "text" === t.type ? null !== e.ctx && m(t, e) : "block" === t.type ? null !== e.ctx && k(t, e) : "line" === t.type && null !== e.ctx && y(t, e);
                            });
                            var l = d.a.getSystemInfoSync(), h = l.platform, p = 0;
                            "android" === h && (p = 300), c.ctx.draw(!1, function() {
                                setTimeout(function() {
                                    c.getTempFile(null);
                                }, p);
                            });
                        }).catch(function(t) {
                            d.a.showToast({
                                icon: "none",
                                title: t.errMsg || "生成失败"
                            }), console.error(t);
                        });
                    });
                }), Object(u["a"])(Object(r["a"])(c), "getTempFile", function(t) {
                    var e = c.props, n = e.onCreateSuccess, a = e.onCreateFail;
                    d.a.canvasToTempFilePath({
                        canvasId: c.canvasId,
                        success: function(t) {
                            n || console.warn("您必须实现 taro-plugin-canvas 组件的 onCreateSuccess 方法，详见文档 https://github.com/chuyun/taro-plugin-canvas#success"), 
                            n && n(t);
                        },
                        fail: function(e) {
                            var n = e.errMsg;
                            console.log(n), "canvasToTempFilePath:fail:create bitmap failed" === n && (S += 1, 
                            S <= 3 ? c.getTempFile(t) : (a || console.warn("您必须实现 taro-plugin-canvas 组件的 onCreateFail 方法，详见文档 https://github.com/chuyun/taro-plugin-canvas#fail"), 
                            a && a(e)));
                        }
                    }, c.$scope);
                }), c.state = {
                    pxWidth: 0,
                    pxHeight: 0,
                    debug: !1,
                    factor: 0,
                    pixelRatio: 1
                }, c.canvasId = A(10), c.ctx = null, c.cache = {}, c.drawArr = [], c;
            }
            return Object(c["a"])(n, [ {
                key: "componentDidMount",
                value: function() {
                    var t = this.props.config, e = x(t);
                    this.initCanvas(t.width, e, t.debug);
                    var n = d.a.getSystemInfoSync(), a = n.screenWidth;
                    this.setState({
                        factor: a / 750
                    }), this.onCreate();
                }
            }, {
                key: "componentWillUnmount",
                value: function() {}
            }, {
                key: "render",
                value: function() {
                    var t = this.state, e = t.pxWidth, n = t.pxHeight, a = t.debug;
                    return e && n ? Object(P["jsx"])(f["Canvas"], {
                        canvasId: this.canvasId,
                        style: "width:".concat(e, "px; height:").concat(n, "px;"),
                        className: "".concat(a ? "debug" : "pro", " canvas")
                    }) : null;
                }
            } ]), n;
        }(l["Component"]);
        L.propTypes = {
            config: p.a.object.isRequired,
            onCreateSuccess: p.a.func.isRequired,
            onCreateFail: p.a.func.isRequired
        }, L.defaultProps = {};
        e["a"] = L;
    },
    50: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        });
        var a = {};
        n.r(a), n.d(a, "getMpByAgent", function() {
            return u;
        }), n.d(a, "getShowNewFreeParams", function() {
            return s;
        }), n.d(a, "getDefalutRatio", function() {
            return d;
        }), n.d(a, "showElm", function() {
            return l;
        }), n.d(a, "getRatioByNoLogin", function() {
            return h;
        }), n.d(a, "getEventTitleAndUrl", function() {
            return p;
        }), n.d(a, "getDomain", function() {
            return f;
        }), n.d(a, "getMpExtend", function() {
            return b;
        });
        var c = n(7), r = n(11), i = n(17), o = n(20), u = function(t) {
            var e = Object(i["a"])(), n = e.MP, a = "".concat(n, "/ap/AppAction.do"), o = Object(c["a"])({
                dispatch: "getMpByAgent",
                key: "AppAction.getMpByAgent"
            }, t);
            return Object(r["a"])({
                url: a,
                data: o
            });
        }, s = function(t) {
            var e = Object(i["a"])(), n = e.MP, a = "".concat(n, "/ap/AppAction.do"), o = Object(c["a"])({
                dispatch: "getShowNewFreeParams",
                key: "AppAction.getShowNewFreeParams"
            }, t);
            return Object(r["a"])({
                url: a,
                data: o
            });
        }, d = function() {
            var t = Object(i["a"])(), e = t.MP, n = "".concat(e, "/ap/AppAction.do"), a = {
                dispatch: "getDefalutRatio",
                key: "AppAction.getDefalutRatio"
            };
            return Object(r["a"])({
                url: n,
                data: a
            });
        }, l = function() {
            var t = Object(i["a"])(), e = t.MP, n = "".concat(e, "/ap/AppAction.do"), a = Object(o["a"])(), c = a.miniProgram, u = {
                dispatch: "showElm",
                key: "AppAction.showElm",
                appId: c.appId
            };
            return Object(r["a"])({
                url: n,
                data: u
            });
        }, h = function() {
            var t = Object(i["a"])(), e = t.MP, n = "".concat(e, "/ap/AppAction.do"), a = Object(o["a"])(), c = a.miniProgram, u = {
                dispatch: "getRatioByNoLogin",
                key: "AppAction.getRatioByNoLogin",
                appId: c.appId
            };
            return Object(r["a"])({
                url: n,
                data: u
            });
        }, p = function() {
            var t = Object(i["a"])(), e = t.MP, n = "".concat(e, "/ap/AppAction.do"), a = {
                dispatch: "getEventTitleAndUrl",
                key: "AppAction.getEventTitleAndUrl"
            };
            return Object(r["a"])({
                url: n,
                data: a
            });
        }, f = function() {
            var t = Object(i["a"])(), e = t.MP, n = "".concat(e, "/ap/AppAction.do"), a = {
                dispatch: "getDomain",
                key: "AppAction.getDomain"
            };
            return Object(r["a"])({
                url: n,
                data: a
            });
        }, b = function(t) {
            var e = Object(i["a"])(), n = e.MP, a = "".concat(n, "/ap/AppAction.do"), o = Object(c["a"])({
                dispatch: "getMpExtend",
                key: "AppAction.getMpExtend"
            }, t);
            return Object(r["a"])({
                url: a,
                data: o
            });
        };
    },
    52: function(t, e, n) {
        "use strict";
        var a = n(3), c = n(1), r = (n(373), n(0)), i = function(t) {
            var e = t.show;
            return e ? Object(r["jsx"])(c["View"], {
                className: "page-loading",
                children: Object(r["jsx"])(c["Image"], {
                    className: "loading-icon",
                    src: "http://cdn.meizhuan.cn/pic-go/spinner-20211025.gif"
                })
            }) : null;
        };
        e["a"] = Object(a["memo"])(i);
    },
    53: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return c;
        }), n.d(e, "b", function() {
            return r;
        });
        var a = n(110), c = function(t) {
            return {
                type: a["a"],
                locateCity: t
            };
        }, r = function(t) {
            return {
                type: a["b"],
                selectCity: t
            };
        };
    },
    54: function(t, e, n) {
        "use strict";
        n.d(e, "c", function() {
            return h;
        }), n.d(e, "b", function() {
            return O;
        }), n.d(e, "a", function() {
            return m;
        });
        var a = n(14), c = n(15), r = n(11), i = n(17), o = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/TuanSkuAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = {
                        dispatch: "fetchListByGoodsId",
                        key: "TuanSkuAction.fetchListByGoodsId",
                        tuanGoodsId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchDetail",
                value: function(t) {
                    var e = {
                        dispatch: "fetchSkuDetail",
                        key: "TuanSkuAction.fetchSkuDetail",
                        tuanSkuId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), u = (new o(), n(7)), s = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/MaterialAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "like",
                value: function(t) {
                    var e = {
                        dispatch: "like",
                        materialId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "download",
                value: function(t) {
                    var e = {
                        dispatch: "download",
                        materialId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), d = (new s(), n(20)), l = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])();
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(d["a"])(), n = e.miniProgram, a = "".concat(this.domains.QT2, "/tg/TuanGoodsAction.do"), c = Object(u["a"])({
                        dispatch: "fetchList4Official",
                        key: "TuanGoodsAction.fetchList4Official",
                        appId: n.appId
                    }, t);
                    return Object(r["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchDetail",
                value: function(t) {
                    var e = Object(d["a"])(), n = e.miniProgram, a = "".concat(this.domains.MP, "/tg/TuanGoodsAction.do"), c = Object(u["a"])({
                        dispatch: "fetchDetail",
                        key: "TuanGoodsAction.fetchDetail",
                        appId: n.appId
                    }, t);
                    return Object(r["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchCatList",
                value: function() {
                    var t = Object(d["a"])(), e = t.miniProgram, n = "".concat(this.domains.QT2, "/tg/TuanGoodsAction.do"), a = {
                        dispatch: "fetchCatList4Official",
                        key: "TuanGoodsAction.fetchCatList4Official",
                        appId: e.appId
                    };
                    return Object(r["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "fetchTbGoodsDetail",
                value: function(t) {
                    var e = "".concat(this.domains.QT2, "/tg/TuanGoodsAction.do"), n = Object(u["a"])({
                        dispatch: "fetchTbGoodsDetail",
                        key: "TuanGoodsAction.fetchTbGoodsDetail"
                    }, t);
                    return Object(r["a"])({
                        url: e,
                        data: n
                    });
                }
            }, {
                key: "fetchTbGoodsDetail4Client",
                value: function(t) {
                    var e = Object(d["a"])(), n = e.miniProgram, a = "".concat(this.domains.QT2, "/tg/TuanGoodsAction.do"), c = Object(u["a"])({
                        dispatch: "fetchTbGoodsDetail4Client",
                        key: "TuanGoodsAction.fetchTbGoodsDetail4Client",
                        appId: n.appId
                    }, t);
                    return Object(r["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchHykGoodsDetail",
                value: function(t) {
                    var e = "".concat(this.domains.QT2, "/tg/TuanGoodsAction.do"), n = Object(u["a"])({
                        dispatch: "fetchHykGoodsDetail",
                        key: "TuanGoodsAction.fetchHykGoodsDetail"
                    }, t);
                    return Object(r["a"])({
                        url: e,
                        data: n
                    });
                }
            } ]), t;
        }(), h = new l(), p = n(36), f = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/GoodsTuanOrderAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "orderList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "myOrderList",
                        key: "GoodsTuanOrderAction.myOrderList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "afterSaleList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "myAfterOrderList",
                        key: "GoodsTuanOrderAction.myAfterOrderList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchFareAmount",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchFareAmount",
                        key: "GoodsTuanOrderAction.fetchFareAmount"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "createOrder",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "createOrder",
                        key: "GoodsTuanOrderAction.createOrder"
                    }, t), n = p["a"].getState();
                    return e.shareAgentId = n.share.agentId || "", Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "orderPay",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "orderPay",
                        key: "GoodsTuanOrderAction.orderPay"
                    }, t), n = p["a"].getState();
                    return e.shareAgentId = n.share.agentId || "", Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "orderDetail",
                value: function(t) {
                    var e = {
                        dispatch: "orderDetail",
                        key: "GoodsTuanOrderAction.orderDetail",
                        goodsTuanOrderId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "refundOrder",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "refundOrder",
                        key: "GoodsTuanOrderAction.refundOrder"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "refundTbOrder",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "refundTbOrder",
                        key: "GoodsTuanOrderAction.refundTbOrder"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "deliveryInfo",
                value: function(t) {
                    var e = {
                        dispatch: "getDeliveryInfo",
                        key: "GoodsTuanOrderAction.getDeliveryInfo",
                        goodsTuanOrderId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchCircleList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchRecomendOrderList",
                        key: "GoodsTuanOrderAction.fetchRecomendOrderList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "tbGoodsRender",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "tbGoodsRender",
                        key: "GoodsTuanOrderAction.tbGoodsRender"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "sendCreateOrderMsg",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "sendCreateOrderMsg",
                        key: "GoodsTuanOrderAction.sendCreateOrderMsg"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), b = (new f(), function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/TuanBannerAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function() {
                    var t = Object(d["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchList",
                        key: "TuanBannerAction.fetchList",
                        appId: e.appId
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: n
                    });
                }
            } ]), t;
        }()), O = new b(), j = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/AgentTuanSettleAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchList",
                        key: "AgentTuanSettleAction.fetchList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), g = (new j(), function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/TuanAddressAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "create",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "create",
                        key: "TuanAddressAction.create"
                    }, t), n = p["a"].getState();
                    return e.shareAgentId = n.share.agentId || "", Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "createWx",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "saveWxAddress",
                        key: "TuanAddressAction.saveWxAddress"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "update",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "update",
                        key: "TuanAddressAction.update"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "remove",
                value: function(t) {
                    var e = {
                        dispatch: "remove",
                        key: "TuanAddressAction.remove",
                        tuanAddressId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchList",
                value: function() {
                    var t = {
                        dispatch: "fetchList",
                        key: "TuanAddressAction.fetchList"
                    }, e = p["a"].getState();
                    return t.shareAgentId = e.share.agentId || "", Object(r["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "setDefault",
                value: function(t) {
                    var e = {
                        dispatch: "setDefault",
                        key: "TuanAddressAction.setDefault",
                        tuanAddressId: t
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchProvinceList",
                value: function() {
                    var t = {
                        dispatch: "fetchProvinceList",
                        key: "TuanAddressAction.fetchProvinceList"
                    };
                    return Object(r["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchCityList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchCityList",
                        key: "TuanAddressAction.fetchCityList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchDistrictList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchDistrictList",
                        key: "TuanAddressAction.fetchDistrictList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "discernAddressInfo",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "discernAddressInfo",
                        key: "TuanAddressAction.discernAddressInfo"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }()), m = new g(), v = function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/AgentTuanDailySumAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchList",
                        key: "AgentTuanDailySumAction.fetchList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), y = (new v(), function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/AgentTuanMonthlySumAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(u["a"])({
                        dispatch: "fetchList",
                        key: "AgentTuanMonthlySumAction.fetchList"
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }()), k = (new y(), function() {
            function t() {
                Object(a["a"])(this, t), this.domains = Object(i["a"])(), this.url = "".concat(this.domains.MP, "/tg/TaokerTuanGoodsAction.do");
            }
            return Object(c["a"])(t, [ {
                key: "fetchTaokerTuanGoods",
                value: function(t) {
                    var e = Object(d["a"])(), n = e.miniProgram, a = Object(u["a"])({
                        dispatch: "fetchTaokerTuanGoods",
                        appId: n.appId
                    }, t);
                    return Object(r["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }());
        new k();
    },
    55: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return c;
        }), n.d(e, "c", function() {
            return r;
        }), n.d(e, "a", function() {
            return i;
        });
        var a = n(95), c = function(t) {
            return {
                type: a["b"],
                agentId: t
            };
        }, r = function(t) {
            return {
                type: a["c"],
                payload: t
            };
        }, i = function(t) {
            return {
                type: a["a"],
                goodsId: t
            };
        };
    },
    56: function(t, e, n) {
        "use strict";
        var a = n(7), c = n(14), r = n(15), i = n(5), o = n(23), u = n(24), s = n(4), d = n(2), l = n.n(d), h = n(22), p = n.n(h), f = n(3), b = n(1), O = n(32), j = n(35), g = (n(458), 
        n(0)), m = function(t) {
            Object(o["a"])(n, t);
            var e = Object(u["a"])(n);
            function n(t) {
                var r;
                return Object(c["a"])(this, n), r = e.call(this, t), Object(s["a"])(Object(i["a"])(r), "previewImage", function() {
                    var t = r.props.src;
                    if (!t) return !1;
                    var e = p()(t, !0);
                    if ("wxfile:" === e.protocol) return !1;
                    var n = Object(O["b"])(), c = Object(a["a"])(Object(a["a"])({}, e.query), {}, {
                        t: n
                    });
                    e.set("query", c);
                    var i = [ e.href ];
                    l.a.previewImage({
                        urls: i
                    });
                }), Object(s["a"])(Object(i["a"])(r), "tapButton", function(t) {
                    var e = r.props.onTapButton;
                    e && e(t);
                }), Object(s["a"])(Object(i["a"])(r), "saveImage", function() {
                    l.a.showLoading({
                        title: "正在保存",
                        mask: !0
                    }), l.a.saveImageToPhotosAlbum({
                        filePath: r.tempFilePath
                    }).then(function() {
                        l.a.showToast({
                            title: "保存成功",
                            icon: "none"
                        });
                    }).catch(function() {
                        l.a.showToast({
                            title: "保存失败",
                            icon: "none"
                        });
                    });
                }), Object(s["a"])(Object(i["a"])(r), "getSetting", function() {
                    l.a.getSetting().then(function(t) {
                        return t.authSetting[j["c"]];
                    }).then(function(t) {
                        t ? r.saveImage() : l.a.authorize({
                            scope: j["c"]
                        }).then(r.saveImage).catch(function() {
                            l.a.showModal({
                                title: "提示",
                                content: "需要您授权保存相册"
                            }).then(function(t) {
                                t.confirm && l.a.openSetting().then(r.saveHandler);
                            });
                        });
                    });
                }), Object(s["a"])(Object(i["a"])(r), "downloadImage", function() {
                    l.a.showLoading({
                        title: "正在下载",
                        mask: !0
                    }), l.a.downloadFile({
                        url: r.props.src,
                        success: function(t) {
                            l.a.hideLoading(), r.tempFilePath = t.tempFilePath, r.getSetting();
                        },
                        fail: function(t) {
                            var e = "下载失败：".concat(t.errMsg);
                            l.a.showToast({
                                title: e,
                                icon: "none"
                            });
                        }
                    });
                }), Object(s["a"])(Object(i["a"])(r), "saveHandler", function() {
                    var t = p()(r.props.src, !0);
                    "http:" !== t.protocol && "https:" !== t.protocol ? (r.tempFilePath = r.props.src, 
                    r.getSetting()) : r.downloadImage();
                }), r.tempFilePath = "", r.loading = "http://cdn.meizhuan.cn/pic-go/max-20211026.gif", 
                r;
            }
            return Object(r["a"])(n, [ {
                key: "render",
                value: function() {
                    var t = this, e = this.props, n = e.show, a = e.src, c = e.text, r = e.buttons;
                    return n ? Object(g["jsx"])(b["View"], {
                        className: "poster-dialog",
                        children: Object(g["jsxs"])(b["View"], {
                            className: "content",
                            children: [ Object(g["jsx"])(b["View"], {
                                className: "header"
                            }), Object(g["jsxs"])(b["View"], {
                                className: "body",
                                children: [ Object(g["jsx"])(b["Image"], {
                                    onClick: this.previewImage,
                                    className: "img",
                                    mode: "widthFix",
                                    showMenuByLongpress: !0,
                                    src: a || this.loading
                                }), Object(g["jsx"])(b["Text"], {
                                    className: "tip",
                                    children: c || ""
                                }) ]
                            }), Object(g["jsx"])(b["View"], {
                                className: "footer",
                                onClick: this.saveHandler,
                                children: Object(g["jsx"])(b["View"], {
                                    className: "btn",
                                    children: "保存相册"
                                })
                            }), Object(g["jsx"])(b["View"], {
                                className: "footer",
                                children: r.map(function(e, n) {
                                    return Object(g["jsx"])(b["View"], {
                                        className: n < r.length - 1 ? "btn divider" : "btn",
                                        onClick: t.tapButton.bind(t, e),
                                        children: e.text
                                    }, e.label);
                                })
                            }) ]
                        })
                    }) : Object(g["jsx"])(b["View"], {});
                }
            } ]), n;
        }(f["Component"]);
        Object(s["a"])(m, "defaultProps", {
            show: !1,
            src: "",
            text: "",
            buttons: [ {
                label: "close",
                text: "关闭"
            } ],
            onTapButton: function() {}
        }), e["a"] = m;
    },
    58: function(t, e, n) {
        "use strict";
        var a = n(14), c = n(15), r = n(22), i = n.n(r), o = n(36), u = function() {
            function t() {
                Object(a["a"])(this, t);
            }
            return Object(c["a"])(t, [ {
                key: "getGoodsFromUrl",
                value: function(t) {
                    return 1 == t ? "https://cdn.meizhuan.cn/pic-go/logo-tb.png" : 2 == t ? "https://cdn.meizhuan.cn/pic-go/logo-tmall.png" : 10 == t ? "https://cdn.meizhuan.cn/pic-go/pdd.png" : 20 == t ? "https://cdn.meizhuan.cn/pic-go/logo-jd.png" : 30 == t ? "https://cdn.meizhuan.cn/pic-go/vip-210526.png" : "";
                }
            }, {
                key: "getAgentHeadUrl",
                value: function() {
                    var t = o["a"].getState(), e = t.user.loginStatus;
                    if (!e) return "";
                    var n = t.user.agent;
                    if (!n.agentHeadUrl) return "";
                    var a = i()(n.agentHeadUrl);
                    return a.set("protocol", "https:"), "thirdwx.qlogo.cn" === a.hostname && a.set("hostname", "wx.qlogo.cn"), 
                    a.href;
                }
            }, {
                key: "getGoodsPosterConfig",
                value: function(t, e) {
                    if (t.salesNum = t.salesTip || t.salesNum || t.monthOrder || "", t.quanValue) {
                        var n = 10 + 20 * (t.goodsPrice.toString().length + 1), a = 48 + n;
                        return {
                            width: 750,
                            height: 1334,
                            backgroundColor: "#fff",
                            debug: !1,
                            pixelRatio: 1,
                            blocks: [ {
                                x: 33,
                                y: 1137,
                                width: 80,
                                height: 80,
                                borderRadius: 80,
                                backgroundColor: "#f2f2f2",
                                zIndex: 1
                            } ],
                            images: [ {
                                url: "https://cdn.meizhuan.cn/pic-go/tk-goods-poster-bg.png",
                                width: 750,
                                height: 1334,
                                y: 0,
                                x: 0
                            }, {
                                url: t.imageHref,
                                width: 750,
                                height: 750,
                                x: 0,
                                y: 0,
                                zIndex: 1
                            }, {
                                url: "https://mpstatic.qingting123.com/img/downloadFile/tuan-share-bg.png",
                                width: 750,
                                height: 135,
                                x: 0,
                                y: 681,
                                zIndex: 2
                            }, {
                                url: this.getGoodsFromUrl(t.goodsFrom),
                                width: 42,
                                height: 42,
                                x: 34,
                                y: 856,
                                zIndex: 1
                            }, {
                                url: this.getAgentHeadUrl(),
                                width: 74,
                                height: 74,
                                borderRadius: 74,
                                x: 36,
                                y: 1140,
                                zIndex: 2
                            }, {
                                url: e,
                                width: 194,
                                height: 194,
                                x: 493,
                                y: 1068,
                                zIndex: 2
                            } ],
                            texts: [ {
                                x: 48,
                                y: 740,
                                text: "￥".concat(t.goodsPrice),
                                fontSize: 30,
                                color: "#fff",
                                opacity: 1,
                                baseLine: "middle",
                                textAlign: "left",
                                width: 180,
                                lineHeight: 36,
                                lineNum: 1,
                                zIndex: 100,
                                textDecoration: "none"
                            }, {
                                x: 48,
                                y: 780,
                                text: 30 === t.goodsFrom ? "折后价￥" : "券后价￥",
                                fontSize: 34,
                                color: "#fff",
                                opacity: 1,
                                baseLine: "middle",
                                lineHeight: 48,
                                lineNum: 1,
                                textAlign: "left",
                                zIndex: 100
                            }, {
                                x: 185,
                                y: 764,
                                text: "".concat(t.floorPrice),
                                fontSize: 78,
                                color: "#fff",
                                opacity: 1,
                                baseLine: "middle",
                                lineHeight: 48,
                                lineNum: 1,
                                textAlign: "left",
                                zIndex: 100
                            }, {
                                x: 605,
                                y: 756,
                                text: "".concat(t.quanValue, "元券"),
                                fontSize: 66,
                                color: "#a05929",
                                opacity: 1,
                                baseLine: "middle",
                                textAlign: "center",
                                width: 246,
                                lineHeight: 36,
                                lineNum: 1,
                                zIndex: 100,
                                textDecoration: "none"
                            }, {
                                x: 90,
                                y: 855,
                                text: t.goodsTitle,
                                fontSize: 38,
                                color: "#000",
                                opacity: 1,
                                baseLine: "top",
                                textAlign: "left",
                                width: 583,
                                lineHeight: 38,
                                lineNum: 1,
                                zIndex: 100,
                                textDecoration: "none"
                            }, {
                                x: 90,
                                y: 921,
                                text: t.salesNum ? "".concat(t.salesNum, "人已参与购买") : "",
                                fontSize: 25,
                                color: "#000",
                                opacity: 1,
                                baseLine: "top",
                                textAlign: "left",
                                width: 600,
                                lineHeight: 25,
                                lineNum: 1,
                                zIndex: 100,
                                textDecoration: "none"
                            } ],
                            lines: [ {
                                startX: 48,
                                endX: a,
                                startY: 736,
                                endY: 737,
                                width: 2,
                                color: "#fff",
                                zIndex: 110
                            } ]
                        };
                    }
                    var c = t.floorPrice.toString(), r = c.length, i = 90 - 20 * (r - 4), o = 760 + 5 * (r - 4);
                    return {
                        width: 750,
                        height: 1334,
                        backgroundColor: "#fff",
                        debug: !1,
                        pixelRatio: 1,
                        blocks: [ {
                            x: 33,
                            y: 1137,
                            width: 80,
                            height: 80,
                            borderRadius: 80,
                            backgroundColor: "#f2f2f2",
                            zIndex: 1
                        } ],
                        images: [ {
                            url: "https://cdn.meizhuan.cn/pic-go/tk-goods-poster-bg.png",
                            width: 750,
                            height: 1334,
                            y: 0,
                            x: 0
                        }, {
                            url: t.imageHref,
                            width: 750,
                            height: 750,
                            x: 0,
                            y: 0,
                            zIndex: 1
                        }, {
                            url: "https://cdn.meizhuan.cn/pic-go/tk-share-price-bg.png",
                            width: 750,
                            height: 216,
                            x: 0,
                            y: 600,
                            zIndex: 2
                        }, {
                            url: this.getGoodsFromUrl(t.goodsFrom),
                            width: 42,
                            height: 42,
                            x: 34,
                            y: 856,
                            zIndex: 1
                        }, {
                            url: this.getAgentHeadUrl(),
                            width: 74,
                            height: 74,
                            borderRadius: 74,
                            x: 36,
                            y: 1140,
                            zIndex: 2
                        }, {
                            url: e,
                            width: 194,
                            height: 194,
                            x: 493,
                            y: 1068,
                            zIndex: 2
                        } ],
                        texts: [ {
                            open: !1,
                            x: 40,
                            y: o,
                            text: "".concat(t.floorPrice),
                            fontSize: i,
                            color: "#fcf700",
                            opacity: 1,
                            baseLine: "middle",
                            lineHeight: 48,
                            lineNum: 1,
                            textAlign: "left",
                            zIndex: 100,
                            fontWeight: "bold"
                        }, {
                            x: 90,
                            y: 855,
                            text: t.goodsTitle,
                            fontSize: 38,
                            color: "#000",
                            opacity: 1,
                            baseLine: "top",
                            textAlign: "left",
                            width: 583,
                            lineHeight: 38,
                            lineNum: 1,
                            zIndex: 100,
                            textDecoration: "none"
                        }, {
                            x: 90,
                            y: 921,
                            text: t.salesNum ? "".concat(t.salesNum, "人已参与购买") : "",
                            fontSize: 25,
                            color: "#000",
                            opacity: 1,
                            baseLine: "top",
                            textAlign: "left",
                            width: 600,
                            lineHeight: 25,
                            lineNum: 1,
                            zIndex: 100,
                            textDecoration: "none"
                        } ],
                        lines: []
                    };
                }
            }, {
                key: "getMtxyPosterConfig",
                value: function(t, e) {
                    var n = [ {
                        x: 0,
                        y: 0,
                        width: 750,
                        height: 1334,
                        url: "https://cdn.meizhuan.cn/pic-go/mtyx-bg-210518.jpg"
                    }, {
                        x: 48,
                        y: 216,
                        width: 654,
                        height: 654,
                        borderRadius: 10,
                        url: t.pictUrl
                    }, {
                        x: 48,
                        y: 826,
                        width: 654,
                        height: 135,
                        url: "https://cdn.meizhuan.cn/pic-go/mtyx-price-210518.png"
                    }, {
                        x: 478,
                        y: 1083,
                        width: 176,
                        height: 176,
                        url: e
                    }, {
                        x: 66,
                        y: 1136,
                        width: 70,
                        height: 70,
                        borderRadius: 70,
                        url: this.getAgentHeadUrl()
                    } ], a = [ {
                        x: 115,
                        y: 989,
                        text: t.title,
                        fontSize: 30,
                        color: "#000",
                        opacity: 1,
                        baseLine: "top",
                        textAlign: "left",
                        width: 544,
                        lineHeight: 30,
                        lineNum: 1,
                        zIndex: 100,
                        fontWeight: "bold",
                        textDecoration: "none"
                    }, {
                        x: 400,
                        y: 910,
                        width: 90,
                        text: "￥".concat(t.originPrice),
                        fontSize: 20,
                        color: "#fff",
                        opacity: 1,
                        baseLine: "top",
                        lineHeight: 20,
                        lineNum: 1,
                        zIndex: 100,
                        textDecoration: "line-through"
                    }, {
                        x: 480,
                        y: 896,
                        text: "￥",
                        fontSize: 36,
                        color: "#fff",
                        opacity: 1,
                        baseLine: "top",
                        lineHeight: 36,
                        lineNum: 1,
                        zIndex: 100,
                        fontWeight: "bold",
                        textDecoration: "none"
                    }, {
                        x: 517,
                        y: 876,
                        text: t.promotionPrice,
                        fontSize: 60,
                        color: "#fff",
                        opacity: 1,
                        baseLine: "top",
                        lineHeight: 60,
                        lineNum: 1,
                        zIndex: 100,
                        fontWeight: "bold",
                        textDecoration: "none"
                    } ];
                    return {
                        width: 750,
                        height: 1334,
                        backgroundColor: "#fff",
                        debug: !1,
                        pixelRatio: 1,
                        blocks: [],
                        images: n,
                        texts: a
                    };
                }
            } ]), t;
        }(), s = new u();
        e["a"] = s;
    },
    59: function(t, e, n) {
        "use strict";
        n.d(e, "f", function() {
            return a;
        }), n.d(e, "a", function() {
            return c;
        }), n.d(e, "g", function() {
            return r;
        }), n.d(e, "h", function() {
            return i;
        }), n.d(e, "e", function() {
            return o;
        }), n.d(e, "i", function() {
            return u;
        }), n.d(e, "c", function() {
            return s;
        }), n.d(e, "d", function() {
            return d;
        }), n.d(e, "b", function() {
            return l;
        });
        var a = "UPDATE_LOGIN_STATUS", c = "UPDATE_AGENT", r = "UPDATE_MP", i = "UPDATE_MP_USER", o = "UPDATE_IS_MP_USER", u = "UPDATE_TRUSTED", s = "UPDATE_BLOCK", d = "UPDATE_CURRENT_WEAPP_MP", l = "UPDATE_APPROVED_VERSION";
    },
    60: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return a;
        }), n.d(e, "d", function() {
            return c;
        }), n.d(e, "h", function() {
            return r;
        }), n.d(e, "i", function() {
            return i;
        }), n.d(e, "a", function() {
            return o;
        }), n.d(e, "c", function() {
            return u;
        }), n.d(e, "f", function() {
            return s;
        }), n.d(e, "g", function() {
            return d;
        }), n.d(e, "e", function() {
            return l;
        });
        var a = "UPDATE_CITY_ID", c = "UPDATE_FILM_LIST", r = "UPDATE_SHOW_LIST", i = "UPDATE_SYS_PARAMS", o = "UPDATE_CINEMA_LIST", u = "UPDATE_CITY_REGION_NAME", s = "UPDATE_POSITION_LATITUDE", d = "UPDATE_POSITION_LONGITUDE", l = "UPDATE_LOCATION_TIMESTAMP";
    },
    61: function(t, e, n) {
        "use strict";
        var a = n(1), c = n(3), r = n(9), i = (n(437), n(0)), o = function(t) {
            var e = t.goodsFrom, n = Object(r["d"])(function(t) {
                return t.user.trusted;
            });
            return 10 == e ? Object(i["jsx"])(a["Image"], {
                className: "platform-logo",
                src: "http://cdn.meizhuan.cn/pic-go/pdd-20211025.png",
                mode: "widthFix",
                lazyLoad: !0
            }) : 20 == e ? Object(i["jsx"])(a["Image"], {
                className: "platform-logo",
                src: "http://cdn.meizhuan.cn/pic-go/jd-20211025.png",
                mode: "widthFix",
                lazyLoad: !0
            }) : 30 == e ? Object(i["jsx"])(a["Image"], {
                className: "platform-logo",
                src: "http://cdn.meizhuan.cn/pic-go/vip-210526.png",
                mode: "widthFix",
                lazyLoad: !0
            }) : n ? 1 == e ? Object(i["jsx"])(a["Image"], {
                className: "platform-logo",
                src: "http://cdn.meizhuan.cn/pic-go/tb-20211025.png",
                mode: "widthFix",
                lazyLoad: !0
            }) : 2 == e ? Object(i["jsx"])(a["Image"], {
                className: "platform-logo",
                src: "http://cdn.meizhuan.cn/pic-go/tmall-20211025.png",
                mode: "widthFix",
                lazyLoad: !0
            }) : null : null;
        };
        e["a"] = Object(c["memo"])(o);
    },
    63: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return o;
        });
        var a = n(3), c = n(2), r = n(9), i = n(64), o = Object(a["memo"])(function(t) {
            var e = t.activeKey, n = Object(r["c"])();
            return Object(c["useDidShow"])(function() {
                return n(Object(i["b"])(e));
            }), null;
        });
    },
    64: function(t, e, n) {
        "use strict";
        n.d(e, "c", function() {
            return c;
        }), n.d(e, "a", function() {
            return r;
        }), n.d(e, "b", function() {
            return i;
        });
        var a = n(96), c = function(t) {
            return {
                type: a["c"],
                router: t
            };
        }, r = function(t) {
            return {
                type: a["a"],
                path: t
            };
        }, i = function(t) {
            return {
                type: a["b"],
                activeKey: t
            };
        };
    },
    70: function(t, e, n) {
        "use strict";
        var a = n(9), c = n(1), r = n(21), i = (n(374), n(0)), o = function() {
            var t = Object(r["a"])(), e = t.year(), n = t.month() + 1, a = t.date(), c = Object(r["a"])("".concat(e, "-").concat(n, "-").concat(a, " 09:00")), i = Object(r["a"])("".concat(e, "-").concat(n, "-").concat(a, " 17:30")), o = t.isAfter(c) && t.isBefore(i);
            return o ? "联系客服" : "给客服留言";
        }, u = function(t) {
            var e = Object(a["d"])(function(t) {
                return t.weapp.mpParam || {};
            }), n = e.kefuSelfText;
            return t.show ? Object(i["jsx"])(c["View"], {
                className: "service-dialog",
                children: Object(i["jsxs"])(c["View"], {
                    className: "wrap",
                    children: [ Object(i["jsxs"])(c["View"], {
                        className: "head",
                        children: [ Object(i["jsx"])(c["View"], {
                            className: "icon",
                            children: Object(i["jsx"])(c["Image"], {
                                className: "img",
                                src: "http://cdn.meizhuan.cn/pic-go/contact-20210929.png"
                            })
                        }), Object(i["jsx"])(c["View"], {
                            className: "close",
                            onClick: t.onClose,
                            children: Object(i["jsx"])(c["Image"], {
                                className: "icon",
                                src: "http://cdn.meizhuan.cn/pic-go/close-210617.png"
                            })
                        }) ]
                    }), Object(i["jsxs"])(c["View"], {
                        className: "body",
                        children: [ Object(i["jsxs"])(c["View"], {
                            className: "content",
                            children: [ Object(i["jsx"])(c["Text"], {
                                className: "txt",
                                children: t.content || "点击按钮即可联系客服"
                            }), !t.hiddenTip && Object(i["jsx"])(c["View"], {
                                className: "tip",
                                children: Object(i["jsx"])(c["Text"], {
                                    children: n || "在线时间：9:00 -- 17:30"
                                })
                            }) ]
                        }), Object(i["jsx"])(c["View"], {
                            className: "button-wrap",
                            children: Object(i["jsxs"])(c["View"], {
                                className: "button",
                                children: [ Object(i["jsx"])(c["Text"], {
                                    children: t.buttonText || o()
                                }), Object(i["jsx"])(c["Button"], {
                                    className: "hover",
                                    openType: "contact"
                                }) ]
                            })
                        }) ]
                    }) ]
                })
            }) : null;
        };
        e["a"] = u;
    },
    71: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return a;
        }), n.d(e, "b", function() {
            return c;
        });
        var a = "linear-gradient(to right, #ff8f07, #e75a02)", c = "linear-gradient(to right, #F23F5D, #FF6B3D)";
    },
    72: function(t, e, n) {
        "use strict";
        var a, c, r = n(14), i = n(15), o = n(5), u = n(23), s = n(24), d = n(4), l = n(25), h = n(29), p = n.n(h), f = n(19), b = n.n(f), O = n(9), j = n(3), g = n(1), m = n(38), v = n(61), y = (n(438), 
        n(0)), k = function(t) {
            var e = t.user;
            return {
                user: e
            };
        }, A = function() {
            return {};
        }, x = (a = Object(O["b"])(k, A), a(c = function(t) {
            Object(u["a"])(n, t);
            var e = Object(s["a"])(n);
            function n() {
                var t;
                Object(r["a"])(this, n);
                for (var a = arguments.length, c = new Array(a), i = 0; i < a; i++) c[i] = arguments[i];
                return t = e.call.apply(e, [ this ].concat(c)), Object(d["a"])(Object(o["a"])(t), "getRankIconUrl", function() {
                    var e = t.props.index;
                    return 0 == e ? "http://cdn.meizhuan.cn/pic-go/rebate-rank-red.png" : 1 == e ? "http://cdn.meizhuan.cn/pic-go/rebate-rank-blue.png" : 2 == e ? "http://cdn.meizhuan.cn/pic-go/rebate-rank-orange.png" : e >= 3 ? "http://cdn.meizhuan.cn/pic-go/rebate-rank-purple.png" : "";
                }), t;
            }
            return Object(i["a"])(n, [ {
                key: "shouldComponentUpdate",
                value: function(t) {
                    var e = this.props.goods, n = t.goods;
                    if (e.itemId != n.itemId) return !0;
                    var a = this.props.user.mp, c = t.user.mp;
                    return a.mpId != c.mpId;
                }
            }, {
                key: "render",
                value: function() {
                    var t = this.props.user.currentWeappMp.fanType, e = this.props, n = e.goods, a = e.onShow, c = e.showIndex, r = e.index, i = m["a"].showInList();
                    return Object(y["jsx"])(g["View"], {
                        onClick: a,
                        className: b()("rebate-item", {
                            precise: n.isPrecise
                        }),
                        children: Object(y["jsxs"])(g["View"], {
                            className: "content",
                            children: [ n.isPrecise ? Object(y["jsx"])(g["View"], {
                                className: "guess",
                                children: "猜你想买"
                            }) : null, Object(y["jsxs"])(g["View"], {
                                className: "image-wrap",
                                children: [ Object(y["jsx"])(g["Image"], {
                                    lazyLoad: !0,
                                    mode: "widthFix",
                                    className: "image",
                                    src: n.imageHref
                                }), c ? Object(y["jsxs"])(g["View"], {
                                    className: "icon",
                                    style: {
                                        backgroundImage: "url(".concat(this.getRankIconUrl(), ")")
                                    },
                                    children: [ Object(y["jsx"])(g["View"], {
                                        className: "top",
                                        children: "TOP"
                                    }), Object(y["jsx"])(g["View"], {
                                        className: "number",
                                        children: r + 1
                                    }) ]
                                }) : null ]
                            }), Object(y["jsxs"])(g["View"], {
                                className: "info",
                                children: [ Object(y["jsxs"])(g["View"], {
                                    className: "title",
                                    children: [ Object(y["jsx"])(g["View"], {
                                        className: "logo",
                                        children: Object(y["jsx"])(v["a"], {
                                            goodsFrom: n.goodsFrom
                                        })
                                    }), Object(y["jsx"])(g["Text"], {
                                        className: "txt",
                                        children: n.goodsTitle
                                    }) ]
                                }), Object(y["jsxs"])(g["View"], {
                                    className: "coupon-commission",
                                    children: [ 30 === n.goodsFrom ? Object(y["jsx"])(y["Fragment"], {
                                        children: "1.00" !== n.discount ? Object(y["jsx"])(g["View"], {
                                            className: "coupon",
                                            children: Object(y["jsxs"])(g["Text"], {
                                                children: [ Object(l["mul"])(n.discount, 10, {
                                                    fixed: 1
                                                }), "折" ]
                                            })
                                        }) : null
                                    }) : Object(y["jsxs"])(g["View"], {
                                        className: "coupon",
                                        children: [ Object(y["jsxs"])(g["Text"], {
                                            children: [ n.quanValue, "元券" ]
                                        }), Object(y["jsx"])(g["View"], {
                                            className: "dot left"
                                        }), Object(y["jsx"])(g["View"], {
                                            className: "dot right"
                                        }) ]
                                    }), i && (30 !== n.goodsFrom || 30 === n.goodsFrom && "0.00" !== n.commission) ? Object(y["jsxs"])(g["View"], {
                                        className: "commission",
                                        children: [ 0 == t || 1 == t ? Object(y["jsxs"])(g["Text"], {
                                            children: [ "返￥", m["a"].getStandardValue(n.goodsFrom, n.tkValue) ]
                                        }) : null, 2 == t ? Object(y["jsxs"])(g["Text"], {
                                            children: [ "赚￥", m["a"].getStandardValue(n.goodsFrom, n.tkValue) ]
                                        }) : null ]
                                    }) : null ]
                                }), Object(y["jsxs"])(g["View"], {
                                    className: "price-sale",
                                    children: [ Object(y["jsx"])(g["View"], {
                                        className: "price",
                                        children: Object(y["jsxs"])(g["Text"], {
                                            children: [ "原价:￥", n.goodsPrice ]
                                        })
                                    }), Object(y["jsxs"])(g["View"], {
                                        className: "sale",
                                        children: [ n.salesNum ? Object(y["jsxs"])(g["Text"], {
                                            children: [ "已售 ", n.salesNum, " 件" ]
                                        }) : null, n.monthOrder ? Object(y["jsxs"])(g["Text"], {
                                            children: [ "月销 ", n.monthOrder, " 件" ]
                                        }) : null ]
                                    }) ]
                                }), Object(y["jsxs"])(g["View"], {
                                    className: "floor-btn",
                                    children: [ Object(y["jsxs"])(g["View"], {
                                        className: "floor",
                                        children: [ 30 === n.goodsFrom ? Object(y["jsx"])(g["Text"], {
                                            className: "label",
                                            children: "折扣价"
                                        }) : Object(y["jsx"])(g["Text"], {
                                            className: "label",
                                            children: "券后价"
                                        }), Object(y["jsxs"])(g["View"], {
                                            className: "price",
                                            children: [ Object(y["jsx"])(g["Text"], {
                                                className: "unit",
                                                children: "￥"
                                            }), Object(y["jsx"])(g["Text"], {
                                                className: "number",
                                                children: n.floorPrice
                                            }) ]
                                        }) ]
                                    }), Object(y["jsx"])(g["View"], {
                                        className: b()("btn", {
                                            vip: 30 === n.goodsFrom
                                        }),
                                        children: Object(y["jsx"])(g["Text"], {
                                            className: "label",
                                            children: "领券抢购"
                                        })
                                    }) ]
                                }) ]
                            }), Object(y["jsx"])(g["View"], {
                                className: "clear"
                            }) ]
                        })
                    });
                }
            } ]), n;
        }(j["Component"])) || c);
        x.defaultProps = {
            goods: {},
            showIndex: !1,
            index: 0,
            onShow: function() {}
        }, x.propType = {
            goods: p.a.object,
            showIndex: p.a.bool,
            index: p.a.number,
            onShow: p.a.func
        }, e["a"] = x;
    },
    78: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return l;
        });
        var a = n(10), c = n(9), r = n(3), i = n(1), o = n(38), u = n(8), s = (n(419), n(0)), d = function() {
            var t = Object(c["d"])(function(t) {
                return t.rebate;
            }), e = t.showCommission, n = Object(r["useState"])([]), d = Object(a["a"])(n, 2), l = d[0], h = d[1];
            return Object(r["useEffect"])(function() {
                var t = {
                    pageNum: 1,
                    pageSize: 10
                };
                u["K"].subsidyTenMillionGoodsList(t).then(function(t) {
                    return t.data;
                }).then(function(t) {
                    t.goodsList && t.goodsList.length && (t.goodsList.length < 3 || h(t.goodsList.splice(0, 3)));
                });
            }, []), l.length ? Object(s["jsxs"])(i["Navigator"], {
                className: "pdd-subsidy",
                url: "/pages/pdd_ten_million_subsidy/index",
                children: [ Object(s["jsxs"])(i["View"], {
                    className: "header",
                    children: [ Object(s["jsxs"])(i["View"], {
                        className: "left",
                        children: [ Object(s["jsx"])(i["View"], {
                            className: "logo-wrapper",
                            children: Object(s["jsx"])(i["Image"], {
                                className: "logo",
                                src: "http://cdn.meizhuan.cn/pic-go/logo-20211119.png"
                            })
                        }), Object(s["jsx"])(i["Text"], {
                            className: "title",
                            children: "拼多多千万补贴"
                        }) ]
                    }), Object(s["jsx"])(i["View"], {
                        className: "right",
                        children: Object(s["jsx"])(i["Image"], {
                            className: "extra-icon",
                            src: "http://cdn.meizhuan.cn/pic-go/extra-20211119.png"
                        })
                    }) ]
                }), Object(s["jsx"])(i["View"], {
                    className: "goods-list",
                    children: l.map(function(t) {
                        return Object(s["jsxs"])(i["View"], {
                            className: "list-item",
                            children: [ Object(s["jsx"])(i["View"], {
                                className: "line-up",
                                children: Object(s["jsxs"])(i["View"], {
                                    className: "content",
                                    children: [ Object(s["jsx"])(i["Image"], {
                                        className: "goods-img",
                                        src: t.imageHref
                                    }), e ? Object(s["jsxs"])(i["View"], {
                                        className: "subsidy",
                                        children: [ Object(s["jsx"])(i["Text"], {
                                            children: "佣"
                                        }), Object(s["jsx"])(i["Text"], {
                                            children: o["a"].getStandardValue(10, t.tkValue)
                                        }), Object(s["jsx"])(i["Text"], {
                                            children: "+"
                                        }), Object(s["jsx"])(i["Text"], {
                                            children: "补"
                                        }), Object(s["jsx"])(i["Text"], {
                                            children: o["a"].getStandardValue(10, t.subsidyAmount)
                                        }) ]
                                    }) : Object(s["jsxs"])(i["View"], {
                                        className: "subsidy",
                                        children: [ Object(s["jsx"])(i["Text"], {
                                            children: "补"
                                        }), Object(s["jsx"])(i["Text"], {
                                            children: o["a"].getStandardValue(10, t.subsidyAmount)
                                        }) ]
                                    }), Object(s["jsx"])(i["View"], {
                                        className: "goods-title",
                                        children: t.goodsTitle
                                    }) ]
                                })
                            }), Object(s["jsxs"])(i["View"], {
                                className: "line-down",
                                children: [ Object(s["jsx"])(i["Text"], {
                                    className: "label",
                                    children: "券后"
                                }), Object(s["jsx"])(i["Text"], {
                                    className: "unit",
                                    children: "￥"
                                }), Object(s["jsx"])(i["Text"], {
                                    className: "price",
                                    children: t.floorPrice
                                }) ]
                            }) ]
                        }, t.itemId);
                    })
                }) ]
            }) : null;
        }, l = function() {
            var t = Object(c["d"])(function(t) {
                return t.weapp.mp;
            }), e = t.pddSubsidy;
            return e ? Object(s["jsx"])(d, {}) : null;
        };
    },
    8: function(t, e, n) {
        "use strict";
        n.d(e, "g", function() {
            return a;
        }), n.d(e, "F", function() {
            return c;
        }), n.d(e, "n", function() {
            return r;
        }), n.d(e, "j", function() {
            return i;
        }), n.d(e, "A", function() {
            return o;
        }), n.d(e, "t", function() {
            return q;
        }), n.d(e, "c", function() {
            return u;
        }), n.d(e, "h", function() {
            return s;
        }), n.d(e, "m", function() {
            return d;
        }), n.d(e, "p", function() {
            return l;
        }), n.d(e, "r", function() {
            return ct;
        }), n.d(e, "s", function() {
            return rt;
        }), n.d(e, "d", function() {
            return it;
        }), n.d(e, "l", function() {
            return h;
        }), n.d(e, "u", function() {
            return p;
        }), n.d(e, "E", function() {
            return st;
        }), n.d(e, "q", function() {
            return f;
        }), n.d(e, "C", function() {
            return b;
        }), n.d(e, "b", function() {
            return O;
        }), n.d(e, "o", function() {
            return j;
        }), n.d(e, "y", function() {
            return g;
        }), n.d(e, "a", function() {
            return m;
        }), n.d(e, "f", function() {
            return v;
        }), n.d(e, "z", function() {
            return y;
        }), n.d(e, "O", function() {
            return _t;
        }), n.d(e, "x", function() {
            return Dt;
        }), n.d(e, "D", function() {
            return Rt;
        }), n.d(e, "U", function() {
            return Gt;
        }), n.d(e, "e", function() {
            return k;
        }), n.d(e, "G", function() {
            return Wt;
        }), n.d(e, "M", function() {
            return qt;
        }), n.d(e, "v", function() {
            return A;
        }), n.d(e, "B", function() {
            return Kt;
        }), n.d(e, "J", function() {
            return te;
        }), n.d(e, "S", function() {
            return ne;
        }), n.d(e, "V", function() {
            return ie;
        }), n.d(e, "N", function() {
            return ue;
        }), n.d(e, "K", function() {
            return de;
        }), n.d(e, "P", function() {
            return he;
        }), n.d(e, "w", function() {
            return x;
        }), n.d(e, "L", function() {
            return be;
        }), n.d(e, "T", function() {
            return je;
        }), n.d(e, "W", function() {
            return me;
        }), n.d(e, "i", function() {
            return ve;
        }), n.d(e, "k", function() {
            return ye;
        }), n.d(e, "I", function() {
            return Ae;
        }), n.d(e, "R", function() {
            return Ie;
        }), n.d(e, "Q", function() {
            return Te;
        }), n.d(e, "H", function() {
            return Se;
        });
        var a = {};
        n.r(a), n.d(a, "getLink", function() {
            return P;
        });
        var c = {};
        n.r(c), n.d(c, "fetchList", function() {
            return S;
        }), n.d(c, "getGoodsDetail", function() {
            return L;
        }), n.d(c, "similarRecommend", function() {
            return M;
        }), n.d(c, "createQrCode", function() {
            return N;
        }), n.d(c, "fetchJxCode", function() {
            return C;
        }), n.d(c, "fetchVipBanner", function() {
            return E;
        });
        var r = {};
        n.r(r), n.d(r, "getCityList", function() {
            return _;
        }), n.d(r, "getProductListByCity", function() {
            return D;
        }), n.d(r, "getItemList4aud", function() {
            return R;
        }), n.d(r, "getProductListByLocation", function() {
            return V;
        }), n.d(r, "getProductDetail", function() {
            return B;
        }), n.d(r, "getProduct", function() {
            return G;
        });
        var i = {};
        n.r(i), n.d(i, "getLink", function() {
            return F;
        });
        var o = {};
        n.r(o), n.d(o, "getTKLByELM", function() {
            return z;
        });
        var u = {};
        n.r(u), n.d(u, "fetch", function() {
            return Y;
        }), n.d(u, "createPoster", function() {
            return K;
        });
        var s = {};
        n.r(s), n.d(s, "getAddressByLocation", function() {
            return Q;
        }), n.d(s, "fetchMpList", function() {
            return J;
        }), n.d(s, "fetch", function() {
            return X;
        }), n.d(s, "fetchMpListByBrand", function() {
            return Z;
        });
        var d = {};
        n.r(d), n.d(d, "getKfcFrontendUrl", function() {
            return $;
        }), n.d(d, "getToken", function() {
            return tt;
        });
        var l = {};
        n.r(l), n.d(l, "getHomeUrl", function() {
            return et;
        }), n.d(l, "getOrderListUrl", function() {
            return nt;
        }), n.d(l, "fetch", function() {
            return at;
        });
        var h = {};
        n.r(h), n.d(h, "goodsList", function() {
            return ot;
        });
        var p = {};
        n.r(p), n.d(p, "fetchListByMp", function() {
            return ut;
        });
        var f = {};
        n.r(f), n.d(f, "fetchById", function() {
            return dt;
        });
        var b = {};
        n.r(b), n.d(b, "haveRpk", function() {
            return lt;
        }), n.d(b, "getRpk", function() {
            return ht;
        });
        var O = {};
        n.r(O), n.d(O, "fetchByQunWxId", function() {
            return pt;
        });
        var j = {};
        n.r(j), n.d(j, "fetchList", function() {
            return ft;
        }), n.d(j, "fetchDetail", function() {
            return bt;
        }), n.d(j, "paySuccess", function() {
            return Ot;
        }), n.d(j, "getAfterSalePhone", function() {
            return jt;
        });
        var g = {};
        n.r(g), n.d(g, "fetchList", function() {
            return gt;
        }), n.d(g, "extract", function() {
            return mt;
        });
        var m = {};
        n.r(m), n.d(m, "fetchMineOrderList", function() {
            return vt;
        }), n.d(m, "fetchBuyerAgentEventListByEventId", function() {
            return yt;
        }), n.d(m, "create", function() {
            return kt;
        }), n.d(m, "fetchFlow", function() {
            return At;
        }), n.d(m, "open", function() {
            return xt;
        }), n.d(m, "getFreeGoodsSteps", function() {
            return It;
        }), n.d(m, "askReturnBill", function() {
            return wt;
        }), n.d(m, "submitOrder", function() {
            return Tt;
        }), n.d(m, "updateOrder", function() {
            return Pt;
        }), n.d(m, "answerFreeGoodsQuestion", function() {
            return St;
        }), n.d(m, "uploadImgForFreeGoods", function() {
            return Lt;
        }), n.d(m, "submitFav", function() {
            return Mt;
        });
        var v = {};
        n.r(v), n.d(v, "isClicked", function() {
            return Nt;
        });
        var y = {};
        n.r(y), n.d(y, "getRatio4stepRebate", function() {
            return Ct;
        });
        var k = {};
        n.r(k), n.d(k, "fetchList", function() {
            return Ut;
        }), n.d(k, "addShareTimes", function() {
            return Ft;
        });
        var A = {};
        n.r(A), n.d(A, "fetchList", function() {
            return Yt;
        });
        var x = {};
        n.r(x), n.d(x, "fetchList", function() {
            return pe;
        });
        var I = n(7), w = n(11), T = n(17), P = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/DDAction.do"), a = Object(I["a"])({
                dispatch: "getLink",
                key: "DDAction.getLink"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, S = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/VIPAction.do"), a = Object(I["a"])({
                dispatch: "fetchList",
                key: "VIPAction.fetchList"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, L = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/VIPAction.do"), a = Object(I["a"])({
                dispatch: "getGoodsDetail",
                key: "VIPAction.getGoodsDetail"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, M = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/VIPAction.do"), a = Object(I["a"])({
                dispatch: "similarRecommend",
                key: "VIPAction.similarRecommend"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, N = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/VIPAction.do"), a = Object(I["a"])({
                dispatch: "createQrCode",
                key: "VIPAction.createQrCode"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, C = function() {
            var t = Object(T["a"])(), e = "".concat(t.MP, "/VIPAction.do"), n = {
                dispatch: "fetchJxCode",
                key: "VIPAction.fetchJxCode"
            };
            return Object(w["a"])({
                url: e,
                data: n
            });
        }, E = function() {
            var t = Object(T["a"])(), e = "".concat(t.MP, "/VIPAction.do"), n = {
                dispatch: "fetchVipBanner",
                key: "VIPAction.fetchVipBanner"
            };
            return Object(w["a"])({
                url: e,
                data: n
            });
        }, _ = function() {
            var t = Object(T["a"])(), e = t.MP, n = "".concat(e, "/LlzbAction.do"), a = {
                dispatch: "getCityList",
                key: "LlzbAction.getCityList"
            };
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, D = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbAction.do"), c = Object(I["a"])({
                dispatch: "getProductListByCity",
                key: "LlzbAction.getProductListByCity"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, R = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbAction.do"), c = Object(I["a"])({
                dispatch: "getItemList4aud",
                key: "LlzbAction.getItemList4aud"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, V = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbAction.do"), c = Object(I["a"])({
                dispatch: "getProductListByLocation",
                key: "LlzbAction.getProductListByLocation"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, B = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbAction.do"), c = Object(I["a"])({
                dispatch: "getProductDetail",
                key: "LlzbAction.getProductDetail"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, G = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbAction.do"), c = Object(I["a"])({
                dispatch: "getProduct",
                key: "LlzbAction.getProduct"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, U = n(20), F = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/GaodeAction.do"), c = Object(I["a"])({
                dispatch: "getLink",
                key: "GaodeAction.getLink"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, z = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.QT2, "/TBAPIAction.do"), a = Object(I["a"])({
                dispatch: "getTKLByELM",
                key: "TBAPIAction.getTKLByELM"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, W = (n(82), n(14)), H = n(15), q = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchMpNewList",
                value: function() {
                    var t = Object(T["a"])(), e = "".concat(t.MP, "/MpGuideAction.do"), n = Object(U["a"])(), a = n.miniProgram, c = {
                        dispatch: "fetchMpNewList",
                        key: "MpGuideAction.fetchMpNewList",
                        appId: a.appId
                    };
                    return Object(w["a"])({
                        url: e,
                        data: c
                    });
                }
            } ]), t;
        }(), Y = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/BargainAction.do"), c = Object(I["a"])({
                dispatch: "fetch",
                key: "BargainAction.fetch"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, K = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/BargainAction.do"), c = Object(I["a"])({
                dispatch: "createPoster",
                key: "BargainAction.createPoster"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Q = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/FreeMealAction.do"), c = Object(I["a"])({
                dispatch: "getAddressByLocation",
                key: "FreeMealAction.getAddressByLocation"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, J = function(t) {
            var e = Object(U["a"])(), n = e.miniProgram, a = Object(T["a"])(), c = a.MP, r = "".concat(c, "/FreeMealAction.do"), i = Object(I["a"])({
                dispatch: "fetchMpList",
                key: "FreeMealAction.fetchMpList",
                appId: n.appId
            }, t);
            return Object(w["a"])({
                url: r,
                data: i
            });
        }, X = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/FreeMealAction.do"), c = Object(I["a"])({
                dispatch: "fetch",
                key: "FreeMealAction.fetch"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Z = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/FreeMealAction.do"), c = Object(I["a"])({
                dispatch: "fetchMpListByBrand",
                key: "FreeMealAction.fetchMpListByBrand"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, $ = function() {
            var t = Object(T["a"])(), e = t.MP, n = "".concat(e, "/KfcOrderAction.do"), a = Object(U["a"])(), c = a.miniProgram, r = {
                dispatch: "getKfcFrontendUrl",
                key: "KfcOrderAction.getKfcFrontendUrl",
                appId: c.appId
            };
            return Object(w["a"])({
                url: n,
                data: r
            });
        }, tt = function() {
            var t = Object(T["a"])(), e = t.MP, n = "".concat(e, "/KfcOrderAction.do"), a = Object(U["a"])(), c = a.miniProgram, r = {
                dispatch: "getToken",
                key: "KfcOrderAction.getToken",
                appId: c.appId
            };
            return Object(w["a"])({
                url: n,
                data: r
            });
        }, et = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/MdlOrderAction.do"), a = Object(I["a"])({
                dispatch: "getHomeUrl",
                key: "MdlOrderAction.getHomeUrl"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, nt = function() {
            var t = Object(T["a"])(), e = "".concat(t.MP, "/MdlOrderAction.do"), n = {
                dispatch: "getOrderListUrl",
                key: "MdlOrderAction.getOrderListUrl"
            };
            return Object(w["a"])({
                url: e,
                data: n
            });
        }, at = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/MdlOrderAction.do"), a = Object(I["a"])({
                dispatch: "fetch",
                key: "MdlOrderAction.fetch"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, ct = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchList",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = Object(T["a"])(), a = "".concat(n.MP, "/MpAdvertAction.do"), c = {
                        dispatch: "fetchList",
                        key: "MpAdvertAction.fetchList",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            } ]), t;
        }(), rt = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchMpList",
                value: function() {
                    var t = Object(T["a"])(), e = "".concat(t.MP, "/MpBannerAction.do"), n = Object(U["a"])(), a = n.miniProgram, c = {
                        dispatch: "fetchMpList",
                        key: "MpBannerAction.fetchMpList",
                        appId: a.appId
                    };
                    return Object(w["a"])({
                        url: e,
                        data: c
                    });
                }
            } ]), t;
        }(), it = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "create",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/BdClockInAction.do"), a = Object(I["a"])({
                        dispatch: "create",
                        key: "BdClockInAction.create"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "fetchList",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/BdClockInAction.do"), a = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "BdClockInAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "remove",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/BdClockInAction.do"), a = Object(I["a"])({
                        dispatch: "remove",
                        key: "BdClockInAction.remove"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            } ]), t;
        }(), ot = function(t) {
            var e = Object(T["a"])(), n = e.QT2, a = "".concat(n, "/GoodsPddAction.do"), c = Object(U["a"])(), r = c.miniProgram, i = Object(I["a"])({
                dispatch: "goodsList",
                key: "GoodsPddAction.goodsList",
                appId: r.appId
            }, t);
            return Object(w["a"])({
                url: a,
                data: i
            });
        }, ut = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/MpPosterAction.do"), c = Object(I["a"])({
                dispatch: "fetchListByMp",
                key: "MpPosterAction.fetchListByMp"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, st = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/TuanOrderAction.do"), c = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "TuanOrderAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetch",
                value: function(t) {
                    var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/TuanOrderAction.do"), c = Object(I["a"])({
                        dispatch: "fetch",
                        key: "TuanOrderAction.fetch"
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            } ]), t;
        }(), dt = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/MiniSceneAction.do"), a = Object(I["a"])({
                dispatch: "fetchById",
                key: "MiniSceneAction.fetchById"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, lt = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/TaokerRpkAction.do"), a = Object(I["a"])({
                dispatch: "haveRpk",
                key: "TaokerRpkAction.haveRpk"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, ht = function(t) {
            var e = Object(T["a"])(), n = "".concat(e.MP, "/TaokerRpkAction.do"), a = Object(I["a"])({
                dispatch: "getRpk",
                key: "TaokerRpkAction.getRpk"
            }, t);
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, pt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AssoWxQunAction.do"), c = Object(U["a"])(), r = c.miniProgram, i = Object(I["a"])({
                dispatch: "fetchByQunWxId",
                key: "AssoWxQunAction.fetchByQunWxId",
                appId: r.appId
            }, t);
            return Object(w["a"])({
                url: a,
                data: i
            });
        }, ft = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbOrderAction.do"), c = Object(I["a"])({
                dispatch: "fetchList",
                key: "LlzbOrderAction.fetchList"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, bt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbOrderAction.do"), c = Object(I["a"])({
                dispatch: "fetchDetail",
                key: "LlzbOrderAction.fetchDetail"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Ot = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/LlzbOrderAction.do"), c = Object(I["a"])({
                dispatch: "paySuccess",
                key: "LlzbOrderAction.paySuccess"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, jt = function() {
            var t = Object(T["a"])(), e = t.MP, n = "".concat(e, "/LlzbOrderAction.do"), a = {
                dispatch: "getAfterSalePhone",
                key: "LlzbOrderAction.getAfterSalePhone"
            };
            return Object(w["a"])({
                url: n,
                data: a
            });
        }, gt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/QuanScoreAction.do"), c = Object(I["a"])({
                dispatch: "fetchList",
                key: "QuanScoreAction.fetchList"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, mt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/QuanScoreAction.do"), c = Object(I["a"])({
                dispatch: "extract",
                key: "QuanScoreAction.extract"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, vt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "fetchMineOrderList",
                key: "AgentEventAction.fetchMineOrderList"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, yt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "fetchBuyerAgentEventListByEventId",
                key: "AgentEventAction.fetchBuyerAgentEventListByEventId"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, kt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "create",
                key: "AgentEventAction.create"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, At = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "fetchFlow",
                key: "AgentEventAction.fetchFlow"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, xt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "open",
                key: "AgentEventAction.open"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, It = function(t) {
            var e = Object(T["a"])(), n = e.QT2, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "getFreeGoodsSteps",
                key: "AgentEventAction.getFreeGoodsSteps"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, wt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "askReturnBill",
                key: "AgentEventAction.askReturnBill"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Tt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "submitOrder",
                key: "AgentEventAction.submitOrder"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Pt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "updateOrder",
                key: "AgentEventAction.updateOrder"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, St = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "answerFreeGoodsQuestion",
                key: "AgentEventAction.answerFreeGoodsQuestion"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Lt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "uploadImgForFreeGoods",
                key: "AgentEventAction.uploadImgForFreeGoods"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Mt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/AgentEventAction.do"), c = Object(I["a"])({
                dispatch: "submitFav",
                key: "AgentEventAction.submitFav"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Nt = function() {
            var t = Object(T["a"])(), e = "".concat(t.MP, "/ClickRecordAction.do"), n = {
                dispatch: "isClicked",
                key: "ClickRecordAction.isClicked",
                type: 2
            };
            return Object(w["a"])({
                url: e,
                data: n
            });
        }, Ct = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/StepSettingAction.do"), c = Object(I["a"])({
                dispatch: "getRatio4stepRebate",
                key: "StepSettingAction.getRatio4stepRebate"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Et = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MpAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "getMiniServiceDomain",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getMiniServiceDomain",
                        key: "MpAction.getMiniServiceDomain",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "fetchMpInfoByMini",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchMpInfoByMini",
                        key: "MpAction.fetchMpInfoByMini",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "showCredentials",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "showCredentials",
                        key: "MpAction.showCredentials",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "getLunBoImg",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getLunBoImg",
                        key: "MpAction.getLunBoImg",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "getEwmByParam",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getEwmByParam",
                        key: "MpAction.getEwmByParam",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }(), _t = new Et(), Dt = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/PidSettlementAction.do"), a = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "PidSettlementAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            } ]), t;
        }(), Rt = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/TaokerRpkInfoAction.do"), a = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "TaokerRpkInfoAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            } ]), t;
        }(), Vt = n(36), Bt = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MtfxAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "getMTLink",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getMTLink",
                        key: "MtfxAction.getMTLink"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getCity",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getCity",
                        key: "MtfxAction.getCity"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getProvinces",
                value: function() {
                    var t = {
                        dispatch: "getProvinces",
                        key: "MtfxAction.getProvinces"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getCities",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getCities",
                        key: "MtfxAction.getCities"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getCategories",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getCategories",
                        key: "MtfxAction.getCategories"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getShops",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getShops",
                        key: "MtfxAction.getShops"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getCouponByShop",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getCouponByShop",
                        key: "MtfxAction.getCouponByShop"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "convertCouponLink",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "convertCouponLink",
                        key: "MtfxAction.convertCouponLink"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getMiniEWM",
                value: function(t) {
                    var e = Object(U["a"])().miniProgram.appId || "", n = Vt["a"].getState().user.agent.agentId || "", a = Object(I["a"])({
                        dispatch: "getMiniEWM",
                        key: "MtfxAction.getMiniEWM",
                        appId: e,
                        agentId: n
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }(), Gt = new Bt(), Ut = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/CircleMaterialAction.do"), c = Object(U["a"])(), r = c.miniProgram, i = Object(I["a"])({
                dispatch: "fetchList",
                key: "CircleMaterialAction.fetchList",
                appId: r.appId
            }, t);
            return Object(w["a"])({
                url: a,
                data: i
            });
        }, Ft = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/CircleMaterialAction.do"), c = Object(I["a"])({
                dispatch: "addShareTimes",
                key: "CircleMaterialAction.addShareTimes"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, zt = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/AgentAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "recordIP",
                value: function() {
                    var t = {
                        dispatch: "recordIP",
                        key: "AgentAction.recordIP"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchForBalance",
                value: function() {
                    var t = {
                        dispatch: "fetchForBalance",
                        key: "AgentAction.fetchForBalance"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchForMine",
                value: function() {
                    var t = {
                        dispatch: "fetchForMine",
                        key: "AgentAction.fetchForMine"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "setPhone",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "setPhone",
                        key: "AgentAction.setPhone"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "login",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "login",
                        key: "AgentAction.login"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getCheckCode",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getCheckCode",
                        key: "AgentAction.getCheckCode"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchWithMp",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "fetchWithMp",
                        key: "AgentAction.fetchWithMp",
                        appId: n.appId
                    }, t), c = Vt["a"].getState(), r = c.user.currentWeappMp.fanType;
                    return 1 != r && 2 != r || (a.shareAgentId = c.share.agentId || ""), Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchMpDefaultPid",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchMpDefaultPid",
                        key: "AgentAction.fetchMpDefaultPid",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "fetchWithDDPid",
                value: function() {
                    var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "fetchWithDDPid",
                        key: "AgentAction.fetchWithDDPid",
                        appId: n.appId
                    }, t), c = Vt["a"].getState();
                    return a.shareAgentId = c.share.agentId || "", Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchWithJDPid",
                value: function() {
                    var t = {
                        dispatch: "fetchWithJDPid",
                        key: "AgentAction.fetchWithJDPid"
                    }, e = Vt["a"].getState();
                    return t.shareAgentId = e.share.agentId || "", Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchAgentBySceneId",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchAgentBySceneId",
                        key: "AgentAction.fetchAgentBySceneId"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getAgentInfo",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getAgentInfo",
                        key: "AgentAction.getAgentInfo"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchELMSharePoster",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchELMSharePoster",
                        key: "AgentAction.fetchELMSharePoster"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchELMGSSharePoster",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchELMGSSharePoster",
                        key: "AgentAction.fetchELMGSSharePoster"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getMTLink2",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getMTLink2",
                        key: "AgentAction.getMTLink2",
                        appId: n.appId
                    }, t), c = Vt["a"].getState(), r = c.user.currentWeappMp.fanType;
                    return 1 != r && 2 != r || (a.shareAgentId = c.share.agentId || ""), Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getMTWeappUrl",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getMTWeappUrl",
                        key: "AgentAction.getMTWeappUrl",
                        appId: n.appId
                    }, t), c = Vt["a"].getState(), r = c.user.currentWeappMp.fanType;
                    return 1 != r && 2 != r || (a.shareAgentId = c.share.agentId || ""), Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchMTSharePoster",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchMTSharePoster",
                        key: "AgentAction.fetchMTSharePoster"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchWaiMaiInvitePoster",
                value: function() {
                    var t = {
                        dispatch: "fetchWaiMaiInvitePoster",
                        key: "AgentAction.fetchWaiMaiInvitePoster"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchWithTodayOrder",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchWithTodayOrder",
                        key: "AgentAction.fetchWithTodayOrder"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchWithTodayOrder4tg",
                value: function() {
                    var t = {
                        dispatch: "fetchWithTodayOrder4tg",
                        key: "AgentAction.fetchWithTodayOrder4tg"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchForSetting",
                value: function() {
                    var t = {
                        dispatch: "fetchForSetting",
                        key: "AgentAction.fetchForSetting"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getFromWxAccount",
                value: function() {
                    var t = {
                        dispatch: "getFromWxAccount",
                        key: "AgentAction.getFromWxAccount"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "setWxAccount",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "setWxAccount",
                        key: "AgentAction.setWxAccount"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "countSelfOrderSon",
                value: function() {
                    var t = {
                        dispatch: "countSelfOrderSon",
                        key: "AgentAction.countSelfOrderSon"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchSonOrGrandsonListSort",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchSonOrGrandsonListSort",
                        key: "AgentAction.fetchSonOrGrandsonListSort"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getSessionAgentInfo",
                value: function() {
                    var t = {
                        dispatch: "getSessionAgentInfo",
                        key: "AgentAction.getSessionAgentInfo"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchForServiceImgUrl",
                value: function() {
                    var t = {
                        dispatch: "fetchForServiceImgUrl",
                        key: "AgentAction.fetchForServiceImgUrl"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "newFreeShowType",
                value: function() {
                    var t = {
                        dispatch: "newFreeShowType",
                        key: "AgentAction.newFreeShowType"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getMTYXList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getMTYXList",
                        key: "AgentAction.getMTYXList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "showFourtotalNum",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "showFourtotalNum",
                        key: "AgentAction.showFourtotalNum"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchListByFriendGroup",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchListByFriendGroup",
                        key: "AgentAction.fetchListByFriendGroup"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "setAlipay",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "setAlipay",
                        key: "AgentAction.setAlipay"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "setBank",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "setBank",
                        key: "AgentAction.setBank"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "uploadIDAndFullName",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "uploadIDAndFullName",
                        key: "AgentAction.uploadIDAndFullName"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchForUnSettled",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchForUnSettled",
                        key: "AgentAction.fetchForUnSettled",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "showCityActivity",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "showCityActivity",
                        key: "AgentAction.showCityActivity",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "getConfig",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getConfig",
                        key: "AgentAction.getConfig",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "setPhoneByWx",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "setPhoneByWx",
                        key: "AgentClockInAction.setPhoneByWx",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getTaokerPhone",
                value: function() {
                    var t = {
                        dispatch: "getTaokerPhone",
                        key: "AgentAction.getTaokerPhone"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchWithDDPid4subsidy",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchWithDDPid4subsidy",
                        key: "AgentAction.fetchWithDDPid4subsidy",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            } ]), t;
        }(), Wt = new zt(), Ht = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.QT2, "/l/GoodsAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "goodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "goodsList",
                        key: "GoodsAction.goodsList",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "quanItem",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "quanItem",
                        key: "GoodsAction.quanItem"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getGoodsInfoByAPI",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getGoodsInfoByAPI",
                        key: "GoodsAction.getGoodsInfoByAPI"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchItemForScp",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchItemForScp",
                        key: "GoodsAction.fetchItemForScp"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "promotionGoodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "promotionGoodsList",
                        key: "GoodsAction.promotionGoodsList",
                        type: 1,
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "meizhuanInvitePoster",
                value: function(t) {
                    var e = "".concat(this.domains.MP, "/GoodsAction.do"), n = Object(I["a"])({
                        dispatch: "meizhuanInvitePoster",
                        key: "GoodsAction.meizhuanInvitePoster"
                    }, t);
                    return Object(w["a"])({
                        url: e,
                        data: n
                    });
                }
            }, {
                key: "goodsPoster",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = "".concat(this.domains.MP, "/GoodsAction.do"), c = Object(I["a"])({
                        dispatch: "goodsPoster",
                        key: "GoodsAction.goodsPoster",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchAgentEWM",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = "".concat(this.domains.MP, "/GoodsAction.do"), c = Object(I["a"])({
                        dispatch: "fetchAgentEWM",
                        key: "GoodsAction.fetchAgentEWM",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            } ]), t;
        }(), qt = new Ht(), Yt = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/PidRevenueDailyAction.do"), c = Object(I["a"])({
                dispatch: "fetchList",
                key: "PidRevenueDailyAction.fetchList"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, Kt = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchList",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = Object(T["a"])(), a = "".concat(n.MP, "/TaokerClockPrizeAction.do"), c = {
                        dispatch: "fetchList",
                        key: "TaokerClockPrizeAction.fetchList",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            } ]), t;
        }(), Qt = n(2), Jt = n.n(Qt), Xt = n(16), Zt = n(33), $t = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.QT2, "/CinemaAction.do"), 
                this.cinemaOrigin = "";
            }
            return Object(H["a"])(t, [ {
                key: "clearCinemaOrigin",
                value: function() {
                    this.cinemaOrigin = "";
                }
            }, {
                key: "getCinemaOrigin",
                value: function() {
                    if (this.cinemaOrigin) return this.cinemaOrigin;
                    var t = Vt["a"].getState(), e = t.user.currentWeappMp.cinemaOrigin;
                    if (e) {
                        var n = Xt["d"].LAST_CINEMA_ORIGIN, a = Jt.a.getStorageSync(n);
                        return e != a && (Vt["a"].dispatch(Object(Zt["b"])("")), Vt["a"].dispatch(Object(Zt["f"])(""))), 
                        this.cinemaOrigin = e, Jt.a.setStorageSync(n, e), this.cinemaOrigin;
                    }
                    return "";
                }
            }, {
                key: "getCityList",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getCityList",
                        key: "CinemaAction.getCityList",
                        appId: e.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "getSysParams",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getSysParams",
                        key: "CinemaAction.getSysParams",
                        appId: e.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "getCinemaList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getCinemaList",
                        key: "CinemaAction.getCinemaList",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getFilmList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getFilmList",
                        key: "CinemaAction.getFilmList",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getShowList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getShowList",
                        key: "CinemaAction.getShowList",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t), c = Vt["a"].getState(), r = c.movie, i = r.longitude, o = r.latitude;
                    return i && o && (a.longitude = i, a.latitude = o), Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getShowDate",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getShowDate",
                        key: "CinemaAction.getShowDate",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getScheduleListByCinema",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getScheduleListByCinema",
                        key: "CinemaAction.getScheduleListByCinema",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getSitelist",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getSitelist",
                        key: "CinemaAction.getSitelist",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getSeatList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getSeatList",
                        key: "CinemaAction.getSeatList",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getCity",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getCity",
                        key: "CinemaAction.getCity",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchById",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = "".concat(this.domains.MP, "/CinemaAction.do"), c = Object(I["a"])({
                        dispatch: "fetchById",
                        key: "CinemaAction.fetchById",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = "".concat(this.domains.MP, "/CinemaAction.do"), c = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "CinemaAction.fetchList",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            }, {
                key: "fetchTemplateIds",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = "".concat(this.domains.MP, "/CinemaAction.do"), a = {
                        dispatch: "fetchTemplateIds",
                        key: "CinemaAction.fetchTemplateIds",
                        appId: e.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    };
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "getFilmDetail",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = "".concat(this.domains.QT2, "/CinemaAction.do"), c = Object(I["a"])({
                        dispatch: "getFilmDetail",
                        key: "CinemaAction.getFilmDetail",
                        appId: n.appId,
                        cinemaOrigin: this.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: a,
                        data: c
                    });
                }
            } ]), t;
        }(), te = new $t(), ee = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MpUserAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "saveXcxUserInfoNewCheck",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "saveXcxUserInfoNewCheck",
                        key: "MpUserAction.saveXcxUserInfoNewCheck",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "saveXcxUserInfoNew",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "saveXcxUserInfoNew",
                        key: "MpUserAction.saveXcxUserInfoNew",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "saveXcxUserInfo",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "saveXcxUserInfo",
                        key: "MpUserAction.saveXcxUserInfo",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "saveUserInfoByMp",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "saveUserInfoByMp",
                        key: "MpUserAction.saveUserInfoByMp",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "saveUserInfoByMpForTaoker",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "saveUserInfoByMpForTaoker",
                        key: "MpUserAction.saveUserInfoByMpForTaoker",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "generateAgent",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "generateAgent",
                        key: "MpUserAction.generateAgent"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "updateLastMpDate",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "updateLastMpDate",
                        key: "MpUserAction.updateLastMpDate"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchInviterList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchInviterList",
                        key: "MpUserAction.fetchInviterList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getMpUser",
                value: function() {
                    var t = {
                        dispatch: "getMpUser",
                        key: "MpUserAction.getMpUser"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "ddDelayShowQuan",
                value: function() {
                    var t = {
                        dispatch: "ddDelayShowQuan",
                        key: "MpUserAction.ddDelayShowQuan"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            } ]), t;
        }(), ne = new ee(), ae = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/tg/PosterAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "getGoodsPoster",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = {
                        dispatch: "getGoodsPoster",
                        key: "PosterAction.getGoodsPoster",
                        appId: n.appId,
                        tuanGoodsId: t
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }(), ce = (new ae(), function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/RebateAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchRebateStatus",
                value: function() {
                    var t = {
                        dispatch: "fetchRebateStatus",
                        key: "RebateAction.fetchRebateStatus"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            } ]), t;
        }()), re = (new ce(), function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.QT2, "/TaokerAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "searchCoupon",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "searchCoupon",
                        key: "TaokerAction.searchCoupon",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "quanMinKouling",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "quanMinKouling",
                        key: "TaokerAction.quanMinKouling"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "searchCouponKl",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "searchCouponKl",
                        key: "TaokerAction.searchCouponKl"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }()), ie = new re(), oe = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.QT2, "/JDGoodsAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "goodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "goodsList",
                        key: "JDGoodsAction.goodsList",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchItem",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "fetchItem",
                        key: "JDGoodsAction.fetchItem",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "quanItem",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "quanItem",
                        key: "JDGoodsAction.quanItem",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "getByItemId",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getByItemId",
                        key: "JDGoodsAction.getByItemId",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }(), ue = new oe(), se = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.QT2, "/DDGoodsAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "goodsListOffical",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "goodsListOffical",
                        key: "DDGoodsAction.goodsListOffical",
                        appId: n.appId
                    }, t), c = Vt["a"].getState(), r = c.user, i = r.agent, o = r.currentWeappMp;
                    return a.agentId = i.agentId || "", a.mpId = o.mpId || "", Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchItem",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchItem",
                        key: "DDGoodsAction.fetchItem"
                    }, t), n = Vt["a"].getState(), a = n.user.currentWeappMp;
                    return e.mpId = a.mpId || "", Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getPromotion",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getPromotion",
                        key: "DDGoodsAction.getPromotion"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getTuwen",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getTuwen",
                        key: "DDGoodsAction.getTuwen"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "hongbao",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "hongbao",
                        key: "DDGoodsAction.hongbao"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "topGoodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "topGoodsList",
                        key: "DDGoodsAction.topGoodsList",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "promotionGoodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "promotionGoodsList",
                        key: "DDGoodsAction.promotionGoodsList",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "recommendGoodsList",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "recommendGoodsList",
                        key: "DDGoodsAction.recommendGoodsList",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "resourceUrl",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "resourceUrl",
                        key: "DDGoodsAction.resourceUrl"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "subsidyTenMillionGoodsList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "subsidyTenMillionGoodsList",
                        key: "DDGoodsAction.subsidyTenMillionGoodsList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "subsidyTenMillionUrl",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "subsidyTenMillionUrl",
                        key: "DDGoodsAction.subsidyTenMillionUrl"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), de = new se(), le = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MpShareAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchByMp",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "fetchByMp",
                        key: "MpShareAction.fetchByMp",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            } ]), t;
        }(), he = new le(), pe = function(t) {
            var e = Object(T["a"])(), n = e.MP, a = "".concat(n, "/PidRevenueMonthlyAction.do"), c = Object(I["a"])({
                dispatch: "fetchList",
                key: "PidRevenueMonthlyAction.fetchList"
            }, t);
            return Object(w["a"])({
                url: a,
                data: c
            });
        }, fe = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/FavoriteAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "isFavorite",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "isFavorite",
                        key: "FavoriteAction.isFavorite"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "delete",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "delete",
                        key: "FavoriteAction.delete"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "add",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "add",
                        key: "FavoriteAction.add"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "FavoriteAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), be = new fe(), Oe = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MtCouponAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList",
                        key: "MtCouponAction.fetchList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "shareZhuan",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "shareZhuan",
                        key: "MtCouponAction.shareZhuan"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchWaimaiMoneyAndNum",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchWaimaiMoneyAndNum",
                        key: "MtCouponAction.fetchWaimaiMoneyAndNum",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "fetchVoucherList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchVoucherList",
                        key: "UserBillAction.fetchVoucherList"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), je = new Oe(), ge = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/UserBillAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "mtVipPreWxPay",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "mtVipPreWxPay",
                        key: "UserBillAction.mtVipPreWxPay"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "useMtVip",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "useMtVip",
                        key: "UserBillAction.useMtVip"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "getListByAgent",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getListByAgent",
                        key: "UserBillAction.getListByAgent"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "agentExtract",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "agentExtract",
                        key: "UserBillAction.agentExtract"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "cinemaPreWxPay",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "cinemaPreWxPay",
                        key: "UserBillAction.cinemaPreWxPay",
                        appId: n.appId,
                        cinemaOrigin: te.getCinemaOrigin()
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "kfcPreWxPay",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "kfcPreWxPay",
                        key: "UserBillAction.kfcPreWxPay"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchVoucherPrice",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchVoucherPrice",
                        key: "UserBillAction.fetchVoucherPrice",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "mtVoucherPreWxPay",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "mtVoucherPreWxPay",
                        key: "UserBillAction.mtVoucherPreWxPay"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "useMtVoucher",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "useMtVoucher",
                        key: "UserBillAction.useMtVoucher"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), me = new ge(), ve = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "fetchMySummary",
                value: function() {
                    var t = Object(T["a"])(), e = "".concat(t.MP, "/FreeMealApplicationAction.do"), n = {
                        dispatch: "fetchMySummary",
                        key: "FreeMealApplicationAction.fetchMySummary"
                    };
                    return Object(w["a"])({
                        url: e,
                        data: n
                    });
                }
            }, {
                key: "fetchByAgentId",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "fetchByAgentId",
                        key: "FreeMealApplicationAction.fetchByAgentId"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "create",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(U["a"])(), c = a.miniProgram, r = Object(I["a"])({
                        dispatch: "create",
                        key: "FreeMealApplicationAction.create",
                        appId: c.appId
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: r
                    });
                }
            }, {
                key: "setOrderInformation",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "setOrderInformation",
                        key: "FreeMealApplicationAction.setOrderInformation"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "fetchListByFreeMealId",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "fetchListByFreeMealId",
                        key: "FreeMealApplicationAction.fetchListByFreeMealId"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "refundApplication",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "refundApplication",
                        key: "FreeMealApplicationAction.refundApplication"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "fetch",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "fetch",
                        key: "FreeMealApplicationAction.fetch"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "setIsGetCoupons",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "setIsGetCoupons",
                        key: "FreeMealApplicationAction.setIsGetCoupons"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            }, {
                key: "invalidApplication",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/FreeMealApplicationAction.do"), a = Object(I["a"])({
                        dispatch: "invalidApplication",
                        key: "FreeMealApplicationAction.invalidApplication"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            } ]), t;
        }(), ye = function() {
            function t() {
                Object(W["a"])(this, t);
            }
            return Object(H["a"])(t, null, [ {
                key: "downloadImage",
                value: function(t) {
                    var e = Object(T["a"])(), n = "".concat(e.MP, "/GoodsBannerDownloadAction.do"), a = Object(I["a"])({
                        dispatch: "downloadImage",
                        key: "GoodsBannerDownloadAction.downloadImage"
                    }, t);
                    return Object(w["a"])({
                        url: n,
                        data: a
                    });
                }
            } ]), t;
        }(), ke = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/AgentOrderAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchList4Agent",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList4Agent",
                        key: "AgentOrderAction.fetchList4Agent"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchList4Agent2",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList4Agent2",
                        key: "AgentOrderAction.fetchList4Agent2"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchList4Agent3",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList4Agent3",
                        key: "AgentOrderAction.fetchList4Agent3"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "sumCommission4Agent",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "sumCommission4Agent",
                        key: "AgentOrderAction.sumCommission4Agent"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), Ae = new ke(), xe = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MpTemplateAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "getMiniSubscribTemplateList",
                value: function() {
                    var t = {
                        dispatch: "getMiniSubscribTemplateList",
                        key: "MpTemplateAction.getMiniSubscribTemplateList"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getMiniTemplateList",
                value: function() {
                    var t = {
                        dispatch: "getMiniTemplateList",
                        key: "MpTemplateAction.getMiniTemplateList"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            } ]), t;
        }(), Ie = new xe(), we = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/MpSubscribeAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchByMp",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "fetchByMp",
                        key: "MpSubscribeAction.fetchByMp",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            } ]), t;
        }(), Te = new we(), Pe = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/AgentClockInAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "getClockInConfig",
                value: function() {
                    var t = Object(U["a"])(), e = t.miniProgram, n = {
                        dispatch: "getClockInConfig",
                        key: "AgentClockInAction.getClockInConfig",
                        appId: e.appId
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: n
                    });
                }
            }, {
                key: "fetchCurrentCycle",
                value: function() {
                    var t = {
                        dispatch: "fetchCurrentCycle",
                        key: "AgentClockInAction.fetchCurrentCycle"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchClockInDetails",
                value: function() {
                    var t = {
                        dispatch: "fetchClockInDetails",
                        key: "AgentClockInAction.fetchClockInDetails"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "clockIn",
                value: function() {
                    var t = {
                        dispatch: "clockIn",
                        key: "AgentClockInAction.clockIn"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "check",
                value: function() {
                    var t = {
                        dispatch: "check",
                        key: "AgentClockInAction.check"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getExistPhoneNumber",
                value: function() {
                    var t = {
                        dispatch: "getExistPhoneNumber",
                        key: "AgentClockInAction.getExistPhoneNumber"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "getWxPhoneNumber",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "getWxPhoneNumber",
                        key: "AgentClockInAction.getWxPhoneNumber",
                        appId: n.appId
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "restart",
                value: function() {
                    var t = {
                        dispatch: "restart",
                        key: "AgentClockInAction.restart"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "chooseExchangeType",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "chooseExchangeType",
                        key: "AgentClockInAction.chooseExchangeType"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), Se = new Pe(), Le = function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.MP, "/GoodsClickRecordAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "goodsClick",
                value: function(t) {
                    var e = Object(U["a"])(), n = e.miniProgram, a = Object(I["a"])({
                        dispatch: "goodsClick",
                        key: "GoodsClickRecordAction.goodsClick",
                        appId: n.appId
                    }, t), c = Vt["a"].getState();
                    a.shareAgentId = c.share.agentId || "";
                    var r = c.user.currentWeappMp.miniServiceType;
                    return a.miniServiceType = r || "", Object(w["a"])({
                        url: this.url,
                        data: a
                    });
                }
            }, {
                key: "fetchListByItemId",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchListByItemId",
                        key: "GoodsClickRecordAction.fetchListByItemId"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchList4groups",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchList4groups",
                        key: "GoodsClickRecordAction.fetchList4groups"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }(), Me = (new Le(), function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.REWU, "/GoodsAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchGoodsDetail",
                value: function(t) {
                    var e = {
                        dispatch: "getGoodsClient",
                        key: "GoodsAction.getGoodsClient",
                        showAdvPic: 0,
                        goodsId: t
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "fetchDetailForSubmit",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getFromGoods4SubmitOrder",
                        key: "getFromGoods4SubmitOrder"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }()), Ne = (new Me(), function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.REWU, "/MaterialAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchList",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "fetchByGoodsCatId",
                        key: "MaterialAction.fetchByGoodsCatId",
                        flag: 1
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "download",
                value: function(t) {
                    var e = {
                        dispatch: "addShareNum",
                        key: "MaterialAction.addShareNum",
                        materialId: t
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            }, {
                key: "like",
                value: function(t) {
                    var e = {
                        dispatch: "addZanNum",
                        key: "MaterialAction.addZanNum",
                        materialId: t
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }()), Ce = (new Ne(), function() {
            function t() {
                Object(W["a"])(this, t), this.domains = Object(T["a"])(), this.url = "".concat(this.domains.REWU, "/GoodsOrderAction.do");
            }
            return Object(H["a"])(t, [ {
                key: "fetchSystemTime",
                value: function() {
                    var t = {
                        dispatch: "getSystemTime",
                        key: "GoodsOrderAction.getSystemTime"
                    };
                    return Object(w["a"])({
                        url: this.url,
                        data: t
                    });
                }
            }, {
                key: "fetchDeliveryInfo",
                value: function(t) {
                    var e = Object(I["a"])({
                        dispatch: "getDeliveryInfoByNum",
                        key: "GoodsOrderAction.getDeliveryInfoByNum"
                    }, t);
                    return Object(w["a"])({
                        url: this.url,
                        data: e
                    });
                }
            } ]), t;
        }());
        new Ce();
    },
    81: function(t) {
        t.exports = JSON.parse('{"c":"4.0.13","a":{"@tarojs/cli":"^3.3.17","@tarojs/components":"^3.3.17","@tarojs/plugin-framework-react":"^3.4.0-beta.0","@tarojs/react":"^3.3.17","@tarojs/router":"^3.3.17","@tarojs/runtime":"^3.3.17","@tarojs/taro":"^3.3.17","@tarojs/taro-h5":"^3.3.17","animate.css":"3.7.2","classnames":"^2.3.1","dayjs":"^1.10.7","distance-from":"^1.1.2","fast-deep-equal":"^3.1.3","float-number":"^2.0.2","is-url":"^1.2.4","lodash":"^4.17.21","nanoid":"^3.1.30","promise-prototype-finally":"^1.0.0","prop-types":"^15.7.2","querystringify":"^2.2.0","react":"^17.0.2","react-dom":"^17.0.2","react-redux":"^7.2.6","redux":"^4.1.2","redux-logger":"^3.0.6","redux-persist":"^6.0.0","semver":"^7.3.5","taro-code":"3","taro-ui":"^3.0.0-alpha.10","url-parse":"^1.5.3","weapp-cookie":"^1.4.8"},"b":{"@babel/core":"^7.16.5","@babel/runtime":"^7.16.5","@tarojs/mini-runner":"^3.3.17","@tarojs/plugin-react-devtools":"^3.3.17","@tarojs/webpack-runner":"^3.3.17","@types/is-url":"^1.2.30","@types/querystringify":"^2.0.0","@types/react":"^17.0.37","@types/redux-logger":"^3.0.9","@types/semver":"^7.3.9","@types/url-parse":"^1.4.5","@types/webpack-env":"^1.16.3","@typescript-eslint/eslint-plugin":"^5.8.0","@typescript-eslint/parser":"^5.8.0","babel-preset-taro":"^3.3.17","concurrently":"^6.5.1","cross-env":"^7.0.3","cz-conventional-changelog":"3.3.0","eslint":"^8.5.0","eslint-config-taro":"^3.3.17","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","git-cz":"^4.8.0","gulp":"^4.0.2","gulp-rename":"^2.0.0","gulp-sass":"^5.0.0","npm-check-updates":"^12.0.5","stylelint":"14.1.0","typescript":"^4.5.4","webpack-bundle-analyzer":"^4.5.0"}}');
    },
    82: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return o;
        }), n.d(e, "b", function() {
            return u;
        });
        var a = n(2), c = n.n(a), r = n(22), i = n(32), o = function(t) {
            t.name = t.name || "file", t.data.t = Object(i["b"])(), t.data.isJson = 1, t.url += "?" + r["qs"].stringify(t.data);
            var e = c.a.uploadFile(t);
            return e;
        }, u = function(t, e) {
            var n = t.url, a = t.data, r = t.filePaths, i = r.length, u = 0, s = [];
            s.length = i;
            for (var d = function(t) {
                var d = r[t], l = d.filePath, h = d.index;
                o({
                    url: n,
                    data: a,
                    filePath: l
                }).then(function(t) {
                    u++;
                    var n = JSON.parse(t.data);
                    if (1 == n.code) return s[h] = n.urls[0], u === i && e && e({
                        urls: s
                    }), !1;
                    c.a.showToast({
                        title: "上传失败",
                        icon: "none"
                    }), e && e();
                });
            }, l = 0; l < i; l++) d(l);
        };
    },
    84: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return x;
        });
        var a = n(10), c = n(228), r = n.n(c), i = n(19), o = n.n(i), u = n(1), s = n(9), d = n(3), l = n(2), h = n(21), p = n(28), f = n(8), b = n(35), O = n(46), j = n(104), g = n(53), m = n(33), v = (n(436), 
        n(0)), y = {
            TCYH: "TCYH",
            LWZJ: "LWZJ",
            XLZG: "XLZG"
        }, k = [ {
            key: y.TCYH,
            title: "同城优惠",
            title_1: "综合推荐",
            sortType: 1
        }, {
            key: y.LWZJ,
            title: "离我最近",
            title_1: "离我最近",
            sortType: 0
        }, {
            key: y.XLZG,
            title: "销量最高",
            title_1: "销量最高",
            sortType: 2
        } ], A = function() {
            var t = Object(s["c"])(), e = Object(O["a"])(), n = Object(s["d"])(function(t) {
                return t.weapp.mp;
            }), c = n.miniServiceType, i = Object(s["d"])(function(t) {
                return t.movie;
            }), A = i.latitude, x = i.longitude, I = i.timestamp, w = Object(s["d"])(function(t) {
                return t.lianlian;
            }), T = w.originCity, P = w.locateCity, S = w.selectCity, L = Object(d["useRef"])(null), M = Object(d["useState"])(1), N = Object(a["a"])(M, 2), C = N[0], E = N[1], _ = Object(d["useState"])(!1), D = Object(a["a"])(_, 2), R = D[0], V = D[1], B = Object(d["useState"])([]), G = Object(a["a"])(B, 2), U = G[0], F = G[1], z = Object(d["useState"])(y.TCYH), W = Object(a["a"])(z, 2), H = W[0], q = W[1], Y = Object(d["useState"])(""), K = Object(a["a"])(Y, 2), Q = K[0], J = K[1], X = Object(d["useCallback"])(function() {
                if (P.cityName) Object(l["navigateTo"])({
                    url: "/pages/around_tour_city/index"
                }); else {
                    var e = function() {
                        var e = {
                            type: "gcj02",
                            isHighAccuracy: !1
                        };
                        Object(l["getLocation"])(e).then(function(e) {
                            t(Object(m["d"])(e.latitude)), t(Object(m["e"])(e.longitude)), t(Object(m["i"])(Object(h["a"])().valueOf())), 
                            E(0);
                        });
                    }, n = function t() {
                        Object(l["getSetting"])().then(function(t) {
                            return t.authSetting[b["b"]];
                        }).then(function(n) {
                            if (n) return e();
                            Object(l["authorize"])({
                                scope: b["b"]
                            }).then(e).catch(function() {
                                var e = "是否授权当前位置", n = "需要获取您的地理位置，请确认授权，否则地图功能将无法使用";
                                Object(l["showModal"])({
                                    title: e,
                                    content: n
                                }).then(function(e) {
                                    var n = e.confirm;
                                    n && Object(l["openSetting"])().then(t);
                                });
                            });
                        });
                    };
                    n();
                }
            }, [ t, P.cityName ]), Z = Object(d["useCallback"])(function(n) {
                if (n !== H) {
                    if (e) return q(n), void E(0);
                    if (n === y.TCYH || n === y.XLZG) return q(n), void E(0);
                    if (A && x && Object(h["a"])().valueOf() - I < 6e4) return q(n), void E(0);
                    t(Object(g["b"])({
                        cityName: "",
                        locationId: 0
                    }));
                    var a = function() {
                        var e = {
                            type: "gcj02",
                            isHighAccuracy: !1
                        };
                        Object(l["getLocation"])(e).then(function(e) {
                            t(Object(m["d"])(e.latitude)), t(Object(m["e"])(e.longitude)), t(Object(m["i"])(Object(h["a"])().valueOf())), 
                            q(n), E(0);
                        });
                    }, c = function t() {
                        Object(l["getSetting"])().then(function(t) {
                            return t.authSetting[b["b"]];
                        }).then(function(e) {
                            if (e) return a();
                            Object(l["authorize"])({
                                scope: b["b"]
                            }).then(a).catch(function() {
                                var e = "是否授权当前位置", n = "需要获取您的地理位置，请确认授权，否则地图功能将无法使用";
                                Object(l["showModal"])({
                                    title: e,
                                    content: n
                                }).then(function(e) {
                                    var n = e.confirm;
                                    n && Object(l["openSetting"])().then(t);
                                });
                            });
                        });
                    };
                    c();
                }
            }, [ H, e, t, A, x, I ]);
            return Object(d["useEffect"])(function() {
                var n;
                if (C) {
                    var a = k.find(function(t) {
                        return t.key === H;
                    });
                    if (a) {
                        J("loading"), null === (n = L.current) || void 0 === n || n.abort();
                        var c = "";
                        if (e) {
                            var r = {
                                pageNum: C,
                                pageSize: 10,
                                sortType: a.sortType,
                                locationId: S.locationId
                            };
                            c = "LlzbAction.getItemList4aud", L.current = f["n"].getItemList4aud(r);
                        } else if (H === y.LWZJ) {
                            var i = {
                                pageNum: C,
                                pageSize: 10,
                                sortType: a.sortType,
                                latitude: A,
                                longitude: x
                            };
                            c = "LlzbAction.getProductListByLocation", L.current = f["n"].getProductListByLocation(i);
                        } else if (S.cityName) {
                            var o = {
                                pageNum: C,
                                pageSize: 10,
                                sortType: a.sortType,
                                locationId: S.locationId
                            };
                            c = "LlzbAction.getProductListByCity", L.current = f["n"].getProductListByCity(o);
                        } else if (A && x) {
                            var u = {
                                pageNum: C,
                                pageSize: 10,
                                sortType: a.sortType,
                                latitude: A,
                                longitude: x
                            };
                            c = "LlzbAction.getProductListByLocation", L.current = f["n"].getProductListByLocation(u);
                        } else {
                            var s = {
                                pageNum: C,
                                pageSize: 10,
                                sortType: a.sortType,
                                locationId: T.locationId
                            };
                            c = "LlzbAction.getProductListByCity", L.current = f["n"].getProductListByCity(s);
                        }
                        L.current.then(function(t) {
                            return t.data;
                        }).then(function(e) {
                            if (0 === e.code) {
                                e.city && (t(Object(g["a"])(e.city)), t(Object(g["b"])({
                                    cityName: "",
                                    locationId: 0
                                }))), e.productList = e.productList || [], F(function(t) {
                                    return t.concat(e.productList);
                                });
                                var n = e.productList.length;
                                J(10 !== n ? n && n < 10 || 1 !== C ? "end" : "blank" : "pull");
                            } else Object(l["showToast"])({
                                title: "".concat(c, ": ").concat(e.msg),
                                icon: "none"
                            });
                        });
                    }
                }
            }, [ t, C ]), Object(d["useEffect"])(function() {
                0 === C && (E(1), F([]));
            }, [ C ]), Object(d["useEffect"])(function() {
                S.cityName && (q(y.TCYH), E(0));
            }, [ S.cityName ]), Object(l["useReachBottom"])(function() {
                "pull" === Q && E(C + 1);
            }), Object(l["usePageScroll"])(r()(function() {
                if (!R && !e && !S.cityName) if (A && x && Object(h["a"])().valueOf() - I < 3e5) V(!0); else {
                    var n = function() {
                        var e = {
                            type: "gcj02",
                            isHighAccuracy: !1
                        };
                        Object(l["getLocation"])(e).then(function(e) {
                            t(Object(m["d"])(e.latitude)), t(Object(m["e"])(e.longitude)), t(Object(m["i"])(Object(h["a"])().valueOf())), 
                            V(!0);
                            var n = k.find(function(t) {
                                return t.key === H;
                            });
                            if (n) {
                                var a = {
                                    pageNum: C,
                                    pageSize: 10,
                                    sortType: n.sortType,
                                    latitude: e.latitude,
                                    longitude: e.longitude
                                };
                                L.current = f["n"].getProductListByLocation(a), L.current.then(function(t) {
                                    return t.data;
                                }).then(function(e) {
                                    var n;
                                    if (0 === e.code) (null === (n = e.city) || void 0 === n ? void 0 : n.locationId) !== P.locationId && (t(Object(g["a"])(e.city)), 
                                    t(Object(g["b"])({
                                        cityName: "",
                                        locationId: 0
                                    })), e.productList = e.productList || [], F(e.productList), e.productList.length ? J("pull") : J(1 !== C ? "end" : "blank")); else {
                                        var a = "LlzbAction.getProductListByLocation: ".concat(e.msg);
                                        Object(l["showToast"])({
                                            title: a,
                                            icon: "none"
                                        });
                                    }
                                });
                            }
                        });
                    }, a = function t() {
                        Object(l["getSetting"])().then(function(t) {
                            return t.authSetting[b["b"]];
                        }).then(function(e) {
                            if (e) return n();
                            Object(l["authorize"])({
                                scope: b["b"]
                            }).then(n).catch(function() {
                                var e = "是否授权当前位置", n = "需要获取您的地理位置，请确认授权，否则地图功能将无法使用";
                                Object(l["showModal"])({
                                    title: e,
                                    content: n
                                }).then(function(e) {
                                    var n = e.confirm;
                                    n && Object(l["openSetting"])().then(t);
                                });
                            });
                        });
                    };
                    a();
                }
            })), Object(v["jsxs"])(u["View"], {
                className: "around-tour",
                children: [ Object(v["jsxs"])(u["View"], {
                    className: "header",
                    children: [ e ? null : Object(v["jsx"])(u["View"], {
                        className: "locate",
                        onClick: X,
                        children: Object(v["jsxs"])(u["View"], {
                            className: "center",
                            children: [ Object(v["jsx"])(u["Image"], {
                                className: "icon",
                                src: "http://cdn.meizhuan.cn/pic-go/locate-btn-20211009.png"
                            }), H === y.LWZJ ? Object(v["jsx"])(u["View"], {
                                className: "city",
                                children: P.cityName || "正在定位"
                            }) : S.cityName ? Object(v["jsx"])(u["View"], {
                                className: "city",
                                children: S.cityName
                            }) : P.cityName ? Object(v["jsx"])(u["View"], {
                                className: "city",
                                children: P.cityName
                            }) : Object(v["jsx"])(u["View"], {
                                className: "city",
                                children: T.cityName
                            }) ]
                        })
                    }), Object(v["jsx"])(u["View"], {
                        className: "menu",
                        children: k.map(function(t) {
                            return Object(v["jsxs"])(u["View"], {
                                className: o()("item", {
                                    active: t.key === H
                                }),
                                onClick: function() {
                                    return Z(t.key);
                                },
                                children: [ Object(v["jsx"])(u["View"], {
                                    className: "label",
                                    children: 1 === c ? Object(v["jsx"])(u["Text"], {
                                        children: t.title_1
                                    }) : Object(v["jsx"])(u["Text"], {
                                        children: t.title
                                    })
                                }), Object(v["jsx"])(u["Image"], {
                                    className: "under",
                                    src: "http://cdn.meizhuan.cn/pic-go/under-red-20211009.png"
                                }) ]
                            }, t.key);
                        })
                    }) ]
                }), Object(v["jsxs"])(u["View"], {
                    className: "product-list",
                    children: [ U.map(function(t) {
                        return Object(v["jsx"])(j["a"], {
                            goods: t,
                            showDistance: H === y.LWZJ || R
                        }, t.productId);
                    }), Object(v["jsx"])(p["a"], {
                        type: Q
                    }) ]
                }) ]
            });
        }, x = function() {
            var t = Object(s["d"])(function(t) {
                return t.weapp.mp;
            }), e = t.showLlzb;
            return e ? Object(v["jsx"])(A, {}) : null;
        };
    },
    85: function(t, e, n) {
        "use strict";
        n.d(e, "a", function() {
            return l;
        });
        var a = n(10), c = n(25), r = n(1), i = n(73), o = n.n(i), u = n(9), s = n(3), d = n(0), l = function(t) {
            var e = Object(u["d"])(function(t) {
                return t.movie;
            }), n = Object(s["useState"])(0), i = Object(a["a"])(n, 2), l = i[0], h = i[1];
            return Object(s["useEffect"])(function() {
                if (t.latitude && t.longitude) if (e.latitude && e.longitude) {
                    var n = [ t.latitude, t.longitude ], a = [ e.latitude, e.longitude ], r = o()(n).to(a).in("km");
                    h(Object(c["add"])(r, 0, {
                        fixed: 2
                    }));
                } else h(0); else h(0);
            }, [ e.latitude, e.longitude, t.latitude, t.longitude ]), l ? Object(d["jsxs"])(r["Text"], {
                children: [ l, "km" ]
            }) : null;
        };
    },
    95: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return a;
        }), n.d(e, "c", function() {
            return c;
        }), n.d(e, "a", function() {
            return r;
        });
        var a = "UPDATE_SHARE_AGENT_ID", c = "UPDATE_YH_GOODS_SHARE_ITEM", r = "REMOVE_YH_GOODS_SHARE_ITEM";
    },
    96: function(t, e, n) {
        "use strict";
        n.d(e, "c", function() {
            return a;
        }), n.d(e, "a", function() {
            return c;
        }), n.d(e, "b", function() {
            return r;
        });
        var a = "UPDATE_ROUTER", c = "DELETE_ROUTER", r = "SET_ACTIVE_KEY";
    }
} ]);